interface dom.VTTCue
implements TextTrackCue
import { type dom } from "https://deno.land/x/evt@v2.4.8/mod.ts";
const { VTTCue } = dom;
Properties
align: AlignSetting
line: LineAndPositionSetting
lineAlign: LineAlignSetting
position: LineAndPositionSetting
positionAlign: PositionAlignSetting
region: VTTRegion | null
vertical: DirectionSetting
Methods
getCueAsHTML(): DocumentFragment
addEventListener<K extends keyof TextTrackCueEventMap>(): void
type: K,
listener: (this: VTTCue, ev: TextTrackCueEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
addEventListener(): void
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
removeEventListener<K extends keyof TextTrackCueEventMap>(): void
type: K,
listener: (this: VTTCue, ev: TextTrackCueEventMap[K]) => any,
options?: boolean | EventListenerOptions,