The global id.
Set the global identfication property on the instance.
Entity we want to set the global identifier on.
The name of the gid
property. If not specified it defaults to gid
.
Set the global identfication property on the instance.
The name of the gid
property. If not specified it defaults to gid
.
Create a deep copy of the argument.
The object to copy
Returns all the entities are distinct by the
property
value argument.
Note that the implementation uses a Map<string, E>
to
index the entities by key. Therefore the more recent occurences
matching a key instance will overwrite the previous ones.
The entities in the array.
The name of the property to check for distinct values by.
The method can be used to exclude keys from an instance
of type E
.
We can use this to exclude values when searching an object.
An instance of type E
The keys to exclude
Gets the current active value from the active
Map.
This is used for the scenario where we are manging a single active instance. For example when selecting a book from a collection of books.
The selected Book
instance becomes the active value.
Filters the entities properties to the set contained in the
keys
array.
The array of keys that the entity be limited to
The entity to map
An entity instance that has only the keys provided in the keys array
The element being scrolled
The number of milliseconds to debounce scroll events
The function returning the scroll position coordinates.
A boolean valued observable indicating whether the element is scrolling up or down
The entitie to search
Keys to exclude from each entity
E[] Array of entities with properties containing the search term.
Create a shallow copy of the argument.
The object to copy
Returns true if all the entities are distinct by the
property
value argument.
The entities in the array.
The name of the property to check for distinct values by.
Generated using TypeDoc
Create a global ID
let e.guid = GUID();