Collection ordering
byDomOrderfunction
Returns a sorted copy using compareDocumentPosition; items without comparable mounted elements retain an equivalent ordering position.
enabledItemsfunction
Returns a new array excluding only items whose disabled flag is exactly true.
Collection state
Item metadata
Iteminterface
Public Collection.Item behavioral model.
Item registration
reffunction
Registers a mounted element and removes it automatically with the Scope in which the returned Effect is run.
registerfunction
Upserts an item immediately and installs a finalizer in the Scope that runs this Effect; the finalizer removes only that exact registration.
unregisterfunction
Removes every registered item with the supplied id and retains the remaining order.