interface VTTCue
implements TextTrackCue
import { type VTTCue } from "https://deno.land/x/evt@v2.5.2/lib/types/lib.dom.ts";
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,