Liking cljdoc? Tell your friends :D

web.media.TextTrackList

The TextTrackList interface is used to represent a list of the tracks defined by the <track> element, with each track represented a separate textTrack object in the list.

The TextTrackList interface is used to represent a list of the
tracks defined by the `<track>` element, with each track represented
a separate `textTrack` object in the list.
raw docstring

get-track-by-idcljs

(get-track-by-id this id)

Method.

The web.media.TextTrackList method getTrackById() returns the web.media.TextTrack object from the track list whose id matches specified string.

var theTrack = TextTrackList.getTrackById(id);

See also: https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/getTrackById

Method.

The `web.media.TextTrackList` method getTrackById() returns the
`web.media.TextTrack` object from the track list whose id matches
specified string.

`var theTrack = TextTrackList.getTrackById(id);`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/getTrackById`
sourceraw docstring

lengthcljs

(length this)

Property.

[Read Only]

The read-only web.media.TextTrackList property length returns number of entries in the TextTrackList, each of which is a web.media.TextTrack one track in the media element.

var trackCount = TextTrackList.length;

See also: https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/length

Property.

[Read Only]

The read-only `web.media.TextTrackList` property length returns
number of entries in the TextTrackList, each of which is a `web.media.TextTrack`
one track in the media element.

`var trackCount = TextTrackList.length;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/length`
sourceraw docstring

onaddtrackcljs

(onaddtrack this)

Property.

The web.media.TextTrackList property onaddtrack is an event which is called when the addtrack event occurs, indicating that new text track has been added to the media element whose text the TextTrackList represents.

TextTrackList.onaddtrack = eventHandler;

See also: https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/onaddtrack

Property.

The `web.media.TextTrackList` property onaddtrack is an event
which is called when the addtrack event occurs, indicating that
new text track has been added to the media element whose text
the TextTrackList represents.

`TextTrackList.onaddtrack = eventHandler;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/onaddtrack`
sourceraw docstring

onchangecljs

(onchange this)

Property.

The web.media.TextTrackList property onchange is an event handler is called when the change event occurs, indicating that a change occurred on a web.media.TextTrack in the VideoTrackList.

TextTrackList.onchange = eventHandler;

See also: https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/onchange

Property.

The `web.media.TextTrackList` property onchange is an event handler
is called when the change event occurs, indicating that a change
occurred on a `web.media.TextTrack` in the VideoTrackList.

`TextTrackList.onchange = eventHandler;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/onchange`
sourceraw docstring

onremovetrackcljs

(onremovetrack this)

Property.

The web.media.TextTrackList onremovetrack event handler is when the removetrack event occurs, indicating that a text track been removed from the media element, and therefore also from TextTrackList.

TextTrackList.onremovetrack = eventHandler;

See also: https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/onremovetrack

Property.

The `web.media.TextTrackList` onremovetrack event handler is
when the removetrack event occurs, indicating that a text track
been removed from the media element, and therefore also from
TextTrackList.

`TextTrackList.onremovetrack = eventHandler;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/onremovetrack`
sourceraw docstring

set-onaddtrack!cljs

(set-onaddtrack! this val)

Property.

The web.media.TextTrackList property onaddtrack is an event which is called when the addtrack event occurs, indicating that new text track has been added to the media element whose text the TextTrackList represents.

TextTrackList.onaddtrack = eventHandler;

See also: https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/onaddtrack

Property.

The `web.media.TextTrackList` property onaddtrack is an event
which is called when the addtrack event occurs, indicating that
new text track has been added to the media element whose text
the TextTrackList represents.

`TextTrackList.onaddtrack = eventHandler;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/onaddtrack`
sourceraw docstring

set-onchange!cljs

(set-onchange! this val)

Property.

The web.media.TextTrackList property onchange is an event handler is called when the change event occurs, indicating that a change occurred on a web.media.TextTrack in the VideoTrackList.

TextTrackList.onchange = eventHandler;

See also: https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/onchange

Property.

The `web.media.TextTrackList` property onchange is an event handler
is called when the change event occurs, indicating that a change
occurred on a `web.media.TextTrack` in the VideoTrackList.

`TextTrackList.onchange = eventHandler;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/onchange`
sourceraw docstring

set-onremovetrack!cljs

(set-onremovetrack! this val)

Property.

The web.media.TextTrackList onremovetrack event handler is when the removetrack event occurs, indicating that a text track been removed from the media element, and therefore also from TextTrackList.

TextTrackList.onremovetrack = eventHandler;

See also: https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/onremovetrack

Property.

The `web.media.TextTrackList` onremovetrack event handler is
when the removetrack event occurs, indicating that a text track
been removed from the media element, and therefore also from
TextTrackList.

`TextTrackList.onremovetrack = eventHandler;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/TextTrackList/onremovetrack`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close