Skip to main content
Version: 2.0.0-alpha

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
Mextends Record<string, any> = any

Type declaration

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

Defined in

lib/src/types/collections.ts:266

Need a hand?

We are happy to offer consulting services to help you get the most out of FireCMS.
Get in touch