Skip to main content
Version: 1.0.0

Type alias: SelectionController<M>

Ƭ SelectionController<M>: Object

Use this controller to retrieve the selected entities or modify them in an EntityCollection If you want to pass a SelectionController to

Type parameters

NameType
Many

Type declaration

NameType
selectedEntitiesEntity<M>[]
isEntitySelected(entity: Entity<M>) => boolean
setSelectedEntities(selectedEntities: Entity<M>[]) => void
toggleEntitySelection(entity: Entity<M>) => void

Defined in

models/collections.ts:253

Enterprise or start-up?

Learn how to get the most out of your project with the help of our consulting team.
Learn more
Sign up to our newsletter to get the latest news and updates. No spam!