Liking cljdoc? Tell your friends :D

web.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 web.audio.AudioTrack object in the

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 `web.audio.AudioTrack` object in the
raw docstring

get-track-by-idcljs

(get-track-by-id this id)

Method.

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

var theTrack = AudioTrackList.getTrackById(id);

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

Method.

The `web.audio.AudioTrackList` method getTrackById() returns
first `web.audio.AudioTrack` object from the track list whose
matches 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.

[Read Only]

The read-only web.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.

[Read Only]

The read-only `web.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 web.audio.AudioTrackList property onaddtrack is an event which is called when the addtrack event occurs, indicating that new audio track has been added to the media element whose audio the AudioTrackList represents.

AudioTrackList.onaddtrack = eventHandler;

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

Property.

The `web.audio.AudioTrackList` property onaddtrack is an event
which is called when the addtrack event occurs, indicating that
new audio track has been added to the media element whose audio
the 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 web.audio.AudioTrackList property onchange is an event which is called when the change event occurs, indicating that or more of the web.audio.AudioTracks in the AudioTrackList been enabled or disabled.

AudioTrackList.onchange = eventHandler;

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

Property.

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

`AudioTrackList.onchange = eventHandler;`

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

onremovetrackcljs

(onremovetrack this)

Property.

The web.audio.AudioTrackList onremovetrack event handler is when 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 `web.audio.AudioTrackList` onremovetrack event handler is
when 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 web.audio.AudioTrackList property onaddtrack is an event which is called when the addtrack event occurs, indicating that new audio track has been added to the media element whose audio the AudioTrackList represents.

AudioTrackList.onaddtrack = eventHandler;

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

Property.

The `web.audio.AudioTrackList` property onaddtrack is an event
which is called when the addtrack event occurs, indicating that
new audio track has been added to the media element whose audio
the 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 web.audio.AudioTrackList property onchange is an event which is called when the change event occurs, indicating that or more of the web.audio.AudioTracks in the AudioTrackList been enabled or disabled.

AudioTrackList.onchange = eventHandler;

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

Property.

The `web.audio.AudioTrackList` property onchange is an event
which is called when the change event occurs, indicating that
or more of the `web.audio.AudioTrack`s in the AudioTrackList
been enabled or 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 web.audio.AudioTrackList onremovetrack event handler is when 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 `web.audio.AudioTrackList` onremovetrack event handler is
when 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