API ReferenceGlobalsEventDispatcher

# Class: EventDispatcher <T>

# Type parameters

T

# Hierarchy

# Index

# Methods

# Methods

# addEventListener

addEventListener(eventName: number, callback: ListenerFunction‹T›, scope: any): void

Defined in packages/configurator-core/src/utils/event-dispatcher.ts:29

Parameters:

Name Type
eventName number
callback ListenerFunction‹T›
scope any

Returns: void


# disableEvents

disableEvents(): void

Defined in packages/configurator-core/src/utils/event-dispatcher.ts:67

Returns: void


# dispatchEvent

dispatchEvent(eventName: number, arg?: T): void

Defined in packages/configurator-core/src/utils/event-dispatcher.ts:33

Parameters:

Name Type
eventName number
arg? T

Returns: void


# enableEvents

enableEvents(): void

Defined in packages/configurator-core/src/utils/event-dispatcher.ts:63

Returns: void


# removeEventListener

removeEventListener(eventName: number, fun: ListenerFunction‹T›): void

Defined in packages/configurator-core/src/utils/event-dispatcher.ts:49

Parameters:

Name Type
eventName number
fun ListenerFunction‹T›

Returns: void