Skip to main content
Version: 19.7.0

CommonEventEmitter.addListener() method

Signature:

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

Parameters

ParameterTypeDescription
eventEventType
handlerHandler

Returns:

CommonEventEmitter