Skip to content

WebEventsPlugin

Defined in: plugins/WebEventsPlugin.ts:16

Maintains a list of callbacks for specific web events and invokes callbacks when event occurs.

Extends

Implements

Constructors

new WebEventsPlugin()

new WebEventsPlugin(): WebEventsPlugin

Defined in: plugins/WebEventsPlugin.ts:30

Creates callback arrays and registers to web events.

Returns

WebEventsPlugin

Overrides

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: "webEvents" = 'webEvents'

Defined in: plugins/WebEventsPlugin.ts:17

Implementation of

IWebEventsPlugin.id

Overrides

Plugin.id


onResize

onResize: Signal<(size) => void>

Defined in: plugins/WebEventsPlugin.ts:20

Implementation of

IWebEventsPlugin.onResize


onVisibilityChanged

onVisibilityChanged: Signal<(visible) => void>

Defined in: plugins/WebEventsPlugin.ts:21

Implementation of

IWebEventsPlugin.onVisibilityChanged

Accessors

app

Get Signature

get app(): Application

Defined in: plugins/WebEventsPlugin.ts:35

Returns

Application

Implementation of

IWebEventsPlugin.app

Overrides

Plugin.app

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

IWebEventsPlugin.addSignalConnection

Inherited from

Plugin.addSignalConnection


clearSignalConnections()

clearSignalConnections(): void

Defined in: plugins/Plugin.ts:77

Returns

void

Implementation of

IWebEventsPlugin.clearSignalConnections

Inherited from

Plugin.clearSignalConnections


destroy()

destroy(): void

Defined in: plugins/WebEventsPlugin.ts:47

Returns

void

Implementation of

IWebEventsPlugin.destroy

Overrides

Plugin.destroy


initialize()

initialize(): void

Defined in: plugins/WebEventsPlugin.ts:39

Returns

void

Implementation of

IWebEventsPlugin.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

IWebEventsPlugin.postInitialize

Inherited from

Plugin.postInitialize