TextTrack$Typings extension

on

Properties

activeCues TextTrackCueList?

Available on TextTrack, provided by the TextTrack$Typings extension

Returns the text track cues from the text track list of cues that are currently active (i.e. that start before the current playback position and end after it), as a TextTrackCueList object.
no setter
addCue ↔ void Function(TextTrackCue)

Available on TextTrack, provided by the TextTrack$Typings extension

getter/setter pair
addEventListener → ({void Function<K$>(TextTrackEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})

Available on TextTrack, provided by the TextTrack$Typings extension

Overload accessor: $1, $2
no setter
cues TextTrackCueList?

Available on TextTrack, provided by the TextTrack$Typings extension

Returns the text track list of cues, as a TextTrackCueList object.
no setter
id String

Available on TextTrack, provided by the TextTrack$Typings extension

Returns the ID of the given track.
no setter
inBandMetadataTrackDispatchType String

Available on TextTrack, provided by the TextTrack$Typings extension

Returns the text track in-band metadata track dispatch type string.
no setter
kind TextTrackKind

Available on TextTrack, provided by the TextTrack$Typings extension

Returns the text track kind string.
no setter
label String

Available on TextTrack, provided by the TextTrack$Typings extension

Returns the text track label, if there is one, or the empty string otherwise (indicating that a custom label probably needs to be generated from the other attributes of the object if the object is exposed to the user).
no setter
language String

Available on TextTrack, provided by the TextTrack$Typings extension

Returns the text track language string.
no setter
mode TextTrackMode

Available on TextTrack, provided by the TextTrack$Typings extension

Returns the text track mode, represented by a string from the following list:
getter/setter pair
oncuechange ↔ dynamic Function(Event)?

Available on TextTrack, provided by the TextTrack$Typings extension

MDN Reference
getter/setter pair
removeCue ↔ void Function(TextTrackCue)

Available on TextTrack, provided by the TextTrack$Typings extension

getter/setter pair
removeEventListener → ({void Function<K$>(TextTrackEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})

Available on TextTrack, provided by the TextTrack$Typings extension

Overload accessor: $1, $2
no setter