Liking cljdoc? Tell your friends :D

audio.AudioTrackList

The AudioTrackList interface is used to represent a list of the tracks contained within a given HTML media element, with each represented by a separate audio.AudioTrack object in the list.

The AudioTrackList interface is used to represent a list of the
tracks contained within a given HTML media element, with each
represented by a separate `audio.AudioTrack` object in the list.
raw docstring

get-track-by-idcljs

(get-track-by-id this id)

Method.

The audio.AudioTrackList method getTrackById() returns the audio.AudioTrack object from the track list whose web.id the specified string.

var theTrack = AudioTrackList.getTrackById(id);

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

Method.

The `audio.AudioTrackList` method getTrackById() returns the
`audio.AudioTrack` object from the track list whose `web.id`
the specified string.

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

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

lengthcljs

(length this)

Property.

The read-only audio.AudioTrackList property length returns number of entries in the AudioTrackList, each of which is an representing one audio track in the media element.

var trackCount = AudioTrackList.length;

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

Property.

The read-only `audio.AudioTrackList` property length returns
number of entries in the AudioTrackList, each of which is an
representing one audio track in the media element.

`var trackCount = AudioTrackList.length;`

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

onaddtrackcljs

(onaddtrack this)

Property.

The audio.AudioTrackList property onaddtrack is an event handler is called when the addtrack event occurs, indicating that a new track has been added to the media element whose audio tracks AudioTrackList represents.

AudioTrackList.onaddtrack = eventHandler;

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

Property.

The `audio.AudioTrackList` property onaddtrack is an event handler
is called when the addtrack event occurs, indicating that a new
track has been added to the media element whose audio tracks
AudioTrackList represents.

`AudioTrackList.onaddtrack = eventHandler;`

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

onchangecljs

(onchange this)

Property.

The audio.AudioTrackList property onchange is an event handler is called when the change event occurs, indicating that one or of the audio.AudioTracks in the AudioTrackList have been enabled disabled.

AudioTrackList.onchange = eventHandler;

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

Property.

The `audio.AudioTrackList` property onchange is an event handler
is called when the change event occurs, indicating that one or
of the `audio.AudioTrack`s in the AudioTrackList have been enabled
disabled.

`AudioTrackList.onchange = eventHandler;`

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

onremovetrackcljs

(onremovetrack this)

Property.

The audio.AudioTrackList onremovetrack event handler is called the removetrack event occurs, indicating that an audio track been removed from the media element, and therefore also from AudioTrackList.

AudioTrackList.onremovetrack = eventHandler;

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

Property.

The `audio.AudioTrackList` onremovetrack event handler is called
the removetrack event occurs, indicating that an audio track
been removed from the media element, and therefore also from
AudioTrackList.

`AudioTrackList.onremovetrack = eventHandler;`

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

set-onaddtrack!cljs

(set-onaddtrack! this val)

Property.

The audio.AudioTrackList property onaddtrack is an event handler is called when the addtrack event occurs, indicating that a new track has been added to the media element whose audio tracks AudioTrackList represents.

AudioTrackList.onaddtrack = eventHandler;

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

Property.

The `audio.AudioTrackList` property onaddtrack is an event handler
is called when the addtrack event occurs, indicating that a new
track has been added to the media element whose audio tracks
AudioTrackList represents.

`AudioTrackList.onaddtrack = eventHandler;`

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

set-onchange!cljs

(set-onchange! this val)

Property.

The audio.AudioTrackList property onchange is an event handler is called when the change event occurs, indicating that one or of the audio.AudioTracks in the AudioTrackList have been enabled disabled.

AudioTrackList.onchange = eventHandler;

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

Property.

The `audio.AudioTrackList` property onchange is an event handler
is called when the change event occurs, indicating that one or
of the `audio.AudioTrack`s in the AudioTrackList have been enabled
disabled.

`AudioTrackList.onchange = eventHandler;`

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

set-onremovetrack!cljs

(set-onremovetrack! this val)

Property.

The audio.AudioTrackList onremovetrack event handler is called the removetrack event occurs, indicating that an audio track been removed from the media element, and therefore also from AudioTrackList.

AudioTrackList.onremovetrack = eventHandler;

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

Property.

The `audio.AudioTrackList` onremovetrack event handler is called
the removetrack event occurs, indicating that an audio track
been removed from the media element, and therefore also from
AudioTrackList.

`AudioTrackList.onremovetrack = eventHandler;`

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

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

× close