new Collection
Parameters:
| Name | Type | Description |
|---|---|---|
array |
Array= | (Optional) Array. |
- Source:
- collection.js, line 77
Extends
Members
-
changed
-
- Inherited From:
- Source:
- object.js, line 147
-
setValues
-
- Inherited From:
- Source:
- object.js, line 239
Methods
-
bindTo
-
Parameters:
Name Type Description keystring Key. targetol.Object Target. targetKeystring= (Optional) Target key. noNotifyboolean= (Optional) No notify. - Inherited From:
- Source:
- object.js, line 126
-
clear
-
Remove all elements from the collection.
- Source:
- collection.js, line 96
-
forEach
-
Parameters:
Name Type Description fFunction Function. objObject= (Optional) Object. - Source:
- collection.js, line 107
-
get
-
Parameters:
Name Type Description keystring Key. - Inherited From:
- Source:
- object.js, line 154
Returns:
Value.- Type
- *
-
getArray
-
- Source:
- collection.js, line 115
Returns:
Array.- Type
- Array
-
getAt
-
Parameters:
Name Type Description indexnumber Index. - Source:
- collection.js, line 124
Returns:
Element.- Type
- *
-
getLength
-
- Source:
- collection.js, line 132
Returns:
Length.- Type
- number
-
insertAt
-
Parameters:
Name Type Description indexnumber Index. elem* Element. - Source:
- collection.js, line 141
-
notify
-
Parameters:
Name Type Description keystring Key. - Inherited From:
- Source:
- object.js, line 175
-
pop
-
- Source:
- collection.js, line 154
Returns:
Element.- Type
- *
-
push
-
Parameters:
Name Type Description elem* Element. - Source:
- collection.js, line 163
Returns:
Length.- Type
- number
-
removeAt
-
Parameters:
Name Type Description indexnumber Index. - Source:
- collection.js, line 174
Returns:
Value.- Type
- *
-
set
-
Parameters:
Name Type Description keystring Key. value* Value. - Inherited From:
- Source:
- object.js, line 202
-
setAt
-
Parameters:
Name Type Description indexnumber Index. elem* Element. - Source:
- collection.js, line 190
-
setOptions
-
Parameters:
Name Type Description optionsObject.<string, *> Options. - Inherited From:
- Source:
- object.js, line 224
-
unbind
-
Parameters:
Name Type Description keystring Key. - Inherited From:
- Source:
- object.js, line 245
-
unbindAll
-
Removes all bindings.
- Inherited From:
- Source:
- object.js, line 262