puppeteer/new-docs/puppeteer.eventemitter.removelistener.md

711 B

Home > puppeteer > EventEmitter > removeListener

EventEmitter.removeListener() method

Warning: This API is now obsolete.

please use off instead.

Remove an event listener.

Signature:

removeListener(event: EventType, handler: Handler): EventEmitter;

Parameters

Parameter Type Description
event EventType
handler Handler

Returns:

EventEmitter