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
Name | Type |
---|---|
M | extends Record <string , any > = any |
Type declaration
Name | Type |
---|---|
isEntitySelected | (entity : Entity <M >) => boolean |
selectedEntities | Entity <M >[] |
setSelectedEntities | Dispatch <SetStateAction <Entity <M >[]>> |
toggleEntitySelection | (entity : Entity <M >) => void |