Skip to content

ActionsPlugin

Defined in: plugins/actions/ActionsPlugin.ts:22

Extends

Implements

Constructors

new ActionsPlugin()

new ActionsPlugin(id): ActionsPlugin

Defined in: plugins/Plugin.ts:40

Parameters

id

string = 'Plugin'

Returns

ActionsPlugin

Inherited from

Plugin.constructor

Properties

__dill_pixel_method_binding_root

__dill_pixel_method_binding_root: boolean

Defined in: plugins/Plugin.ts:37

Inherited from

Plugin.__dill_pixel_method_binding_root


id

readonly id: "actions" = 'actions'

Defined in: plugins/actions/ActionsPlugin.ts:23

Implementation of

IActionsPlugin.id

Overrides

Plugin.id


onActionContextChanged

onActionContextChanged: Signal<(context) => void>

Defined in: plugins/actions/ActionsPlugin.ts:25

Implementation of

IActionsPlugin.onActionContextChanged

Accessors

app

Get Signature

get app(): T

Defined in: plugins/Plugin.ts:45

Returns

T

Implementation of

IActionsPlugin.app

Inherited from

Plugin.app


context

Get Signature

get context(): string | string & object

Defined in: plugins/actions/ActionsPlugin.ts:42

Returns

string | string & object

Set Signature

set context(context): void

Defined in: plugins/actions/ActionsPlugin.ts:46

Parameters
context

string | string & object

Returns

void

Implementation of

IActionsPlugin.context


debug

Get Signature

get debug(): boolean

Defined in: plugins/actions/ActionsPlugin.ts:37

Returns

boolean

Set Signature

set debug(debug): void

Defined in: plugins/actions/ActionsPlugin.ts:34

Parameters
debug

boolean

Returns

void

Implementation of

IActionsPlugin.debug

Methods

addSignalConnection()

addSignalConnection(…args): void

Defined in: plugins/Plugin.ts:71

Add signal connections to the container.

Parameters

args

SignalConnection[]

The signal connections to add.

Returns

void

Implementation of

IActionsPlugin.addSignalConnection

Inherited from

Plugin.addSignalConnection


clearSignalConnections()

clearSignalConnections(): void

Defined in: plugins/Plugin.ts:77

Returns

void

Implementation of

IActionsPlugin.clearSignalConnections

Inherited from

Plugin.clearSignalConnections


destroy()

destroy(): void

Defined in: plugins/Plugin.ts:49

Returns

void

Implementation of

IActionsPlugin.destroy

Inherited from

Plugin.destroy


getAction()

getAction<TActionData>(action): ActionSignal<TActionData>

Defined in: plugins/actions/ActionsPlugin.ts:58

Type Parameters

TActionData = any

Parameters

action

Action

Returns

ActionSignal<TActionData>

Implementation of

IActionsPlugin.getAction


getActions()

getActions(): ActionMap

Defined in: plugins/actions/ActionsPlugin.ts:65

Returns

ActionMap

Implementation of

IActionsPlugin.getActions


initialize()

initialize(app): void

Defined in: plugins/actions/ActionsPlugin.ts:54

Parameters

app

IApplication

Returns

void

Implementation of

IActionsPlugin.initialize

Overrides

Plugin.initialize


postInitialize()

postInitialize(_app): void | Promise<void>

Defined in: plugins/Plugin.ts:60

Parameters

_app

IApplication

Returns

void | Promise<void>

Implementation of

IActionsPlugin.postInitialize

Inherited from

Plugin.postInitialize


sendAction()

sendAction<TActionData>(actionId, data?): void

Defined in: plugins/actions/ActionsPlugin.ts:69

Type Parameters

TActionData = any

Parameters

actionId

Action

data?

TActionData

Returns

void

Implementation of

IActionsPlugin.sendAction


setActionContext()

setActionContext(context): string

Defined in: plugins/actions/ActionsPlugin.ts:94

Parameters

context

string | string & object

Returns

string

Implementation of

IActionsPlugin.setActionContext