toggle menu
Kotlin Wrappers API Reference
js
switch theme
search in API
kotlin-browser
/
web.vtt
/
TextTrackList
Text
Track
List
external
class
TextTrackList
:
EventTarget
,
ArrayLike
<
TextTrack
>
,
JsIterable
<
TextTrack
>
(
source
)
MDN Reference
Members
Properties
add
Track
Event
Link copied to clipboard
val
addTrackEvent
:
EventInstance
<
TrackEvent
,
TextTrackList
,
TextTrackList
>
MDN Reference
change
Event
Link copied to clipboard
val
changeEvent
:
EventInstance
<
Event
,
TextTrackList
,
TextTrackList
>
MDN Reference
length
Link copied to clipboard
open
override
val
length
:
Int
MDN Reference
onaddtrack
Link copied to clipboard
var
onaddtrack
:
EventHandler
<
TrackEvent
,
TextTrackList
,
TextTrackList
>
?
MDN Reference
onchange
Link copied to clipboard
var
onchange
:
EventHandler
<
Event
,
TextTrackList
,
TextTrackList
>
?
MDN Reference
onremovetrack
Link copied to clipboard
var
onremovetrack
:
EventHandler
<
TrackEvent
,
TextTrackList
,
TextTrackList
>
?
MDN Reference
remove
Track
Event
Link copied to clipboard
val
removeTrackEvent
:
EventInstance
<
TrackEvent
,
TextTrackList
,
TextTrackList
>
MDN Reference
Functions
dispatch
Event
Link copied to clipboard
fun
dispatchEvent
(
event
:
Event
)
:
Boolean
get
Link copied to clipboard
open
operator
fun
get
(
index
:
Int
)
:
TextTrack
open
operator
fun
get
(
key
:
Symbol.iterator
)
:
(
)
->
JsIterator
<
TextTrack
>
get
Track
By
Id
Link copied to clipboard
fun
getTrackById
(
id
:
String
)
:
TextTrack
?
MDN Reference
iterator
Link copied to clipboard
open
inline operator
fun
iterator
(
)
:
Iterator
<
TextTrack
>