Skip to main content

Introducing Workflow Engine, try for FREE workflowengine.io.

Type Alias: ActionsInitializer()

ActionsInitializer: (props, def) => Record<EventName, ActionEventHandler | ActionDefinition>

The type of function that initializes an actions on a component. Internal use only.

Parameters

props: ComponentStore["props"]

the component's property settings.

def: DefineActionHelper

the helper to create an action event handler.

Returns

Record<EventName, ActionEventHandler | ActionDefinition>

the Record with action event handlers.