Skip to main content
Version: 21.0.0

CommonEventEmitter.on() method

Signature:

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

Parameters

ParameterTypeDescription
eventEventType
handlerHandler

Returns:

this