0
0
mirror of https://github.com/puppeteer/puppeteer synced 2024-06-14 14:02:48 +00:00
puppeteer/docs/api/puppeteer.commoneventemitter.addlistener.md

531 B

sidebar_label
CommonEventEmitter.addListener

CommonEventEmitter.addListener() method

Signature:

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

Parameters

Parameter Type Description
event EventType
handler Handler

Returns:

this