Readonly[toReadonlysizeStatic Readonly[species]Iterates over values in the set.
Adds an Elemental to the ElementList and updates the order.
An Elemental to add to the ElementList
Converts the ElementList to an array.
An array of the elements in the ElementList.
Clears all elements from the ElementList.
Deletes an Elemental from the ElementList.
The Elemental to delete.
True if the element was deleted, false otherwise.
Gets an element at the specified index.
The index of the element to retrieve.
The element at the specified index, or undefined if the index is out of bounds.
a boolean indicating whether an element with the specified value exists in the Set or not.
a boolean indicating whether this Set has no elements in common with the argument.
a boolean indicating whether all the elements in this Set are also in the argument.
a boolean indicating whether all the elements in the argument are also in this Set.
Despite its name, returns an iterable of the values in the set.
Updates the order of elements in the ElementList to match their order in the DOM.
Automatically called anytime an element is added.
Returns an iterable of values in the set.
An ElementList that ensures the elements remain in order of appearance in the DOM.
Note: this does not watch the DOM tree, it only updates the order when elements are added or the consumer instructs the DOMOrderElementList to update.