TextTrackCue

sealed external class TextTrackCue : EventTarget(source)

TextTrackCues represent a string of text that will be displayed for some duration of time on a TextTrack. This includes the start and end times that the cue will be displayed. A TextTrackCue cannot be used directly, instead one of the derived types (e.g. VTTCue) must be used.

MDN Reference

Inheritors

Properties

Link copied to clipboard

Returns the text track cue end time, in seconds.

Link copied to clipboard
var id: String

Returns the text track cue identifier.

Link copied to clipboard

Returns true if the text track cue pause-on-exit flag is set, false otherwise.

Link copied to clipboard

Returns the text track cue start time, in seconds.

Link copied to clipboard

Returns the TextTrack object to which this text track cue belongs, if any, or null otherwise.

Functions

Link copied to clipboard