Skip to main content
Version: 18.2.1

CommonEventEmitter.on() method

Signature:

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

Parameters

ParameterTypeDescription
eventEventType
handlerHandler

Returns:

CommonEventEmitter