TrackEvent

open external class TrackEvent(val type: EventType<TrackEvent>, init: TrackEventInit = definedExternally) : Event(source)

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.

MDN Reference

Constructors

Link copied to clipboard
constructor(type: EventType<TrackEvent>, init: TrackEventInit = definedExternally)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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

Link copied to clipboard
open override val type: EventType<TrackEvent>

Functions

Link copied to clipboard
open override fun asInit(): TrackEventInit
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard