interface TextTrackCue
implements EventTarget
import { type TextTrackCue } from "https://deno.land/x/windmill@v1.361.1/node_modules/evt/src/lib/types/lib.dom.ts";
TextTrackCues represent a string of text that will be displayed for some duration of time on a TextTrack. This includes the start and end times that the cue will be displayed. A TextTrackCue cannot be used directly, instead one of the derived types (e.g. VTTCue) must be used.
Properties
onenter: ((this: TextTrackCue, ev: Event) => any) | null
onexit: ((this: TextTrackCue, ev: Event) => any) | null
readonly
track: TextTrackMethods
getCueAsHTML(): DocumentFragment
addEventListener<K extends keyof TextTrackCueEventMap>(): void
type: K,
listener: (this: TextTrackCue, 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: TextTrackCue, ev: TextTrackCueEventMap[K]) => any,
options?: boolean | EventListenerOptions,