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
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
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
args
{ id
: string
; }
The arguments passed to the function.
args.id
string
The id of the element.
Returns
void
Last updated
Was this helpful?