Skip to main content
Version: 20.1.0

CommonEventEmitter.on() method

Signature:

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

Parameters

ParameterTypeDescription
eventEventType
handlerHandler

Returns:

CommonEventEmitter