Skip to main content
Version: 21.1.1

CommonEventEmitter.addListener() method

Signature:

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

Parameters

ParameterTypeDescription
eventEventType
handlerHandler

Returns:

this