TextTrackCue

abstract external class TextTrackCue : EventTarget (source)

Platform and version requirements: JS

Constructors

<init>

TextTrackCue()

Properties

endTime

open var endTime: Double

id

open var id: String

onenter

open var onenter: (Event) -> dynamic

onexit

open var onexit: (Event) -> dynamic

pauseOnExit

open var pauseOnExit: Boolean

startTime

open var startTime: Double

track

open val track: TextTrack?

Inherited Functions

addEventListener

fun addEventListener(
    type: String,
    callback: EventListener?,
    options: dynamic = definedExternally)
fun addEventListener(
    type: String,
    callback: (Event) -> Unit,
    options: dynamic = definedExternally)

dispatchEvent

fun dispatchEvent(event: Event): Boolean

removeEventListener

fun removeEventListener(
    type: String,
    callback: EventListener?,
    options: dynamic = definedExternally)
fun removeEventListener(
    type: String,
    callback: (Event) -> Unit,
    options: dynamic = definedExternally)