Skip to main content
Version: 19.9.1

CommonEventEmitter.on() method

Signature:

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

Parameters

ParameterTypeDescription
eventEventType
handlerHandler

Returns:

CommonEventEmitter