Skip to main content
Version: 19.5.0

CommonEventEmitter.addListener() method

Signature:

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

Parameters

ParameterTypeDescription
eventEventType
handlerHandler

Returns:

CommonEventEmitter