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:28

Parameters:

Name Type
eventName number
callback ListenerFunction‹T›
scope any

Returns: void


# dispatchEvent

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

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

Parameters:

Name Type
eventName number
arg? T

Returns: void


# removeEventListener

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

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

Parameters:

Name Type
eventName number
fun ListenerFunction‹T›

Returns: void