addCue

external fun addCue(cue: TextTrackCue)(source)

The addCue() method of the TextTrack interface adds a new cue to the list of cues.

MDN Reference