Interface TextTrackList

interface TextTrackList {
    $destroyListeners?: any[];
    length: number;
    onaddtrack: Object;
    onchange: Object;
    onremovetrack: Object;
    addEventListener<K>(type, listener, options?): void;
    addEventListener(type, listener, options?): void;
    dispatchEvent(event): boolean;
    getTrackById(id): TextTrack;
    removeEventListener<K>(type, listener, options?): void;
    removeEventListener(type, listener, options?): void;
    [index: number]: TextTrack;
}

Hierarchy

Indexable

[index: number]: TextTrack

Properties

$destroyListeners?: any[]
length: number
onaddtrack: Object
onchange: Object
onremovetrack: Object

Methods

  • Type Parameters

    Parameters

    Returns void

  • Parameters

    Returns void

  • Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.

    MDN Reference

    Parameters

    Returns boolean

  • Type Parameters

    Parameters

    Returns void

  • Parameters

    Returns void