UpdateActionTriggerParams


Properties

id

id: string


label?

optional label: string

The label of the action trigger.


disabled?

optional disabled: boolean

Whether the action trigger is disabled or not.


type?

optional type: undefined


onTrigger()?

optional onTrigger: (args: { id: string; }) => void

The function to call when the action trigger is triggered.

Parameters

Parameter
Type
Description

args

{ id: string; }

The arguments passed to the function.

args.id

string

The id of the action trigger.

Returns

void


onCreate()?

optional onCreate: (args: { id: string; }) => void

A function to call when the element is created.

Parameters

Parameter
Type
Description

args

{ id: string; }

The arguments passed to the function.

args.id

string

The id of the element.

Returns

void


onDestroy()?

optional onDestroy: (args: { id: string; }) => void

A function to call when the element is destroyed.

Parameters

Parameter
Type
Description

args

{ id: string; }

The arguments passed to the function.

args.id

string

The id of the element.

Returns

void

Last updated

Was this helpful?