The key by which to check uniqueness against. undefined if no uniqueness constraint is set.
Protected
_checkProtected
_moveProtected
_removeReturns an item identified by the unique constraint key. Returns null, if there is no uniqueness constraint.
the value to test against. does a shallow comparison, if the passed a non-atomic value
Add categories with this API.
Static
fromCreates a Collection from an iterable, such as an Array.
Optional
uniqueKey: false | keyof Fa key to maintain uniquely within the collection. passing false disables uniqueness.
Private
_appProtected
_arrayPrivate
_cacheMap of category names, where the value is a map of moduleId and items.
Private
_moduleEvent raised if an item is added. Is passed the added item.
Event raised if an item is relocated within the collection. Is passed the moved item.
Event raised if an item is removed. Is passed the removed item.
Generated using TypeDoc
Get the symbol which is attached to an item prior to its removal. If an item is removed, the current index of the item is set on the item with this symbol.