Methods
(static) clear(id)
Remove an element.
Parameters:
Name | Type | Description |
---|---|---|
id |
number |
The element ID to delete. |
(static) clearAll()
Removes all elements.
(static) exists(id)
Check if an element exists.
Parameters:
Name | Type | Description |
---|---|---|
id |
number |
Element ID. |
(static) get(ids)
Get the data for one element or all elements of the object.
Parameters:
Name | Type | Description |
---|---|---|
ids |
Array.<number> | number |
A single element ID or an array of element IDs to return. |
(static) length()
Get the number of elements in the object.