useRenderWidgetListener
Functions
default()
default(
canvasWidgetStates
,setCanvasWidgetStates
):void
Defined in: canvas/hooks/useRenderWidgetListener.tsx:23
Listen and react to the "render-widget" event.
Parameters
Parameter | Type | Description |
---|---|---|
canvasWidgetStates | Record <string , CanvasWidgetState > | Canvas widget states. |
setCanvasWidgetStates | Dispatch <SetStateAction <Record <string , CanvasWidgetState >>> | Setter for the canvas widget states. |
Returns
void