-
Notifications
You must be signed in to change notification settings - Fork 0
/
TrackDefaultList.cljs
53 lines (36 loc) · 1.57 KB
/
TrackDefaultList.cljs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
(ns web.audio.TrackDefaultList
"The TrackDefaultList interface represents a simple container
for multiple `web.audio.TrackDefault` objects."
(:refer-clojure :exclude []))
(def constructor
"Constructor.
The TrackDefaultList() constructor of the `web.audio.TrackDefaultList` interface constructs and returns a new TrackDefaultList object.
trackDefaults
A sequence (array) of `web.audio.TrackDefault` objects.
See also: `https://developer.mozilla.org/en-US/docs/Web/API/TrackDefaultList/TrackDefaultList`"
js/TrackDefaultList)
(defn track-default
"Method.
The TrackDefault() getter method of the `web.audio.TrackDefaultList`
allows the TrackDefault objects in the list to be accessed with
array operator (i.e. [].)
`var myTrackDefault = TrackDefaultList[index];`
See also: `https://developer.mozilla.org/en-US/docs/Web/API/TrackDefaultList/TrackDefault`"
[this ]
(-> this (.TrackDefault)))
(defn length
"Property.
The length read-only property of the `web.audio.TrackDefaultList`
returns the number of `web.audio.TrackDefault` objects in the
`var myListLength = TrackDefaultList.length;`
See also: `https://developer.mozilla.org/en-US/docs/Web/API/TrackDefaultList/length`"
[this]
(-> this (.-length)))
(defn set-length!
"Property.
The length read-only property of the `web.audio.TrackDefaultList`
returns the number of `web.audio.TrackDefault` objects in the
`var myListLength = TrackDefaultList.length;`
See also: `https://developer.mozilla.org/en-US/docs/Web/API/TrackDefaultList/length`"
[this val]
(aset this "length" val))