useRemoveWidgetsListener
Functions
default()
default(
canvasWidgetStates
,setCanvasWidgetStates
):void
Listen and react to the "remove-widgets" event.
Parameters
Parameter | Type | Description |
---|---|---|
canvasWidgetStates | IdMap <CanvasWidgetState > | Canvas widget states. |
setCanvasWidgetStates | Dispatch <SetStateAction <IdMap <CanvasWidgetState >>> | Setter for the canvas widget states. |
Returns
void