Home > hls.js > Hls > trigger

Hls.trigger() method

Signature:

trigger<E extends keyof HlsListeners>(event: E, eventObject: Parameters<HlsListeners[E]>[1]): boolean;

Parameters

Parameter Type Description
event E
eventObject Parameters<HlsListeners[E]>[1]

Returns:

boolean