Array-like properties used for some Canvallax classes
- Source:
Methods
-
<static> add(element)
-
Add an element, group or array of elements to collection
Parameters:
Name Type Description element
object | Array.<object> Element or array of elements to be added
- Source:
Returns:
- Type
- this
-
<static> each(callback, thisArg)
-
Run a function for each item in collection
Parameters:
Name Type Description callback
function Callback function run for each item
thisArg
Overrride
this
in the callback function- Source:
Returns:
- Type
- this
-
<static> remove(element)
-
Remove an element from collection
Parameters:
Name Type Description element
object | Array.<object> Element or array of elements to be removed
- Source:
Returns:
- Type
- this