Skip to main content

onAction

@quik/bootstrap


@quik/bootstrap / onAction

Function: onAction()

onAction(action, callback, label?): void

Defined in: bootstrap/src/hooks.ts:134

Registers a callback for a specific lifecycle action.

Parameters​

action​

BootstrapHook

Lifecycle event to attach to.

callback​

HookCallback

Function to be called when the event is executed.

label?​

string

Returns​

void