Optional
array: T[]Array.
Optional
options: OptionsCollection options.
Protected
applyProtected
Apply any properties from another object without triggering events.
The source object.
Dispatches an event and calls all listeners listening for events
of this type. The event parameter can either be a string or an
Object with a type
property.
Event object.
false
if anyone called preventDefault on the
event object or if any of the listeners returned false.
Protected
disposeAdd elements to the collection. This pushes each item in the provided array to the end of the collection.
Array.
This collection.
Insert an element at the provided index.
Index.
Element.
Protected
onceProtected
onInsert the provided element at the end of the collection.
Element.
New length of the collection.
Set the element at the provided index.
Index.
Element.
Sets a collection of key-value pairs. Note that this changes any existing properties and adds new ones (it does not remove any existing properties).
Values.
Optional
silent: booleanUpdate without triggering an event.
Protected
un
Classdesc
An expanded version of standard JS Array, adding convenience methods for manipulation. Add and remove changes to the Collection trigger a Collection event. Note that this does not cover changes to the objects within the Collection; they trigger events on the appropriate object, not on the Collection as a whole.
Fires
CollectionEvent
Api