interface TextTrackList
implements EventTarget
import { type TextTrackList } from "https://deno.land/x/evt@v2.5.2/lib/types/lib.dom.ts";
Index Signatures
index: number]: TextTrack
[Properties
onaddtrack: ((this: TextTrackList, ev: TrackEvent) => any) | null
onchange: ((this: TextTrackList, ev: Event) => any) | null
onremovetrack: ((this: TextTrackList, ev: TrackEvent) => any) | null
Methods
item(index: number): TextTrack
addEventListener<K extends keyof TextTrackListEventMap>(): void
type: K,
listener: (this: TextTrackList, ev: TextTrackListEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
addEventListener(): void
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
removeEventListener<K extends keyof TextTrackListEventMap>(): void
type: K,
listener: (this: TextTrackList, ev: TextTrackListEventMap[K]) => any,
options?: boolean | EventListenerOptions,