Skip to main content
Version: 19.2.2

CommonEventEmitter.addListener() method

Signature:

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

Parameters

ParameterTypeDescription
eventEventType
handlerHandler

Returns:

CommonEventEmitter