Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

TrackEvent

The TrackEvent interface, part of the HTML DOM specification, is used for events which represent changes to the set of available tracks on an HTML media element; these events are addtrack and removetrack.

interface TrackEvent extends Event {
readonly track: TextTrack | null;
}
var TrackEvent: {
prototype: TrackEvent;
new (type: string, eventInitDict?: TrackEventInit): TrackEvent;
}
;

§Extends

§Properties

§
readonly track: TextTrack | null
[src]

Returns the track object (TextTrack, AudioTrack, or VideoTrack) to which the event relates.