Skip to main content
Version: 19.3.0

CommonEventEmitter.addListener() method

Signature:

interface CommonEventEmitter {
addListener(event: EventType, handler: Handler): CommonEventEmitter;
}

Parameters

ParameterTypeDescription
eventEventType
handlerHandler

Returns:

CommonEventEmitter