Stateful selection model backed by a Set<string> of item IDs.
Set<string>
All mutating methods return a new SelectionModel instance (immutable update pattern) so React state triggers re-renders correctly.
SelectionModel
Optional
Readonly
Select all items between anchor and target indices (inclusive) in items. Clears any prior selection and replaces it with the range.
items
Stateful selection model backed by a
Set<string>of item IDs.All mutating methods return a new
SelectionModelinstance (immutable update pattern) so React state triggers re-renders correctly.