Skip to main content

Interface: GroupAction

Group Action containing whether the action is allowed based on the selected items and a function to perform the change (onCommit)

Properties​

isEnabled​

• isEnabled: boolean

Will return false if a single item in a selection is locked in addition to the action's requirements. Requires a DesignEngine to have the following extensions: ItemMetadataExtension ItemLocksExtension

Defined in​

packages/design-engine-react-components/src/hooks/useGroupActions/useGroupActions.ts:21


onCommit​

• onCommit: () => void

Type declaration​

▸ (): void

ExecutesCommand to perform action on selected items

Returns​

void

Defined in​

packages/design-engine-react-components/src/hooks/useGroupActions/useGroupActions.ts:26