interface dom.TextTrackList
implements EventTarget
import { type dom } from "https://deno.land/x/evt@v2.4.16/lib/index.ts";
const { TextTrackList } = dom;
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,