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