Version: 2.67.0

EventListener

THEOplayer > EventListener

EventListener type

The function to be executed when an event occurred.

Signature:
export declare type EventListener<TEvent extends Event> = (event: TEvent) => void;