HTMLTrackElement
The HTMLTrackElement
interface HTMLTrackElement extends HTMLElement {
default: boolean;
readonly ERROR: number;
kind: string;
label: string;
readonly LOADED: number;
readonly LOADING: number;
readonly NONE: number;
readonly readyState: number;
src: string;
srclang: string;
readonly track: TextTrack;
addEventListener<K extends keyof HTMLElementEventMap>(
type: K,
listener: (this: HTMLTrackElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void;addEventListener(
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
): void;removeEventListener<K extends keyof HTMLElementEventMap>(
type: K,
listener: (this: HTMLTrackElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void;removeEventListener(
}type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | EventListenerOptions,
): void;var HTMLTrackElement: {
prototype: HTMLTrackElement;
readonly ERROR: number;
readonly LOADED: number;
readonly LOADING: number;
readonly NONE: number;
new (): HTMLTrackElement;
};§Extends
§Properties
§Methods
§
addEventListener<K extends keyof HTMLElementEventMap>(
[src]type: K,
listener: (this: HTMLTrackElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void§
addEventListener(
[src]type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions,
): void§
removeEventListener<K extends keyof HTMLElementEventMap>(
[src]type: K,
listener: (this: HTMLTrackElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void§
removeEventListener(
[src]type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | EventListenerOptions,
): void