puppeteer/docs/api/puppeteer.commoneventemitter.on.md
2022-07-05 15:41:43 +02:00

568 B

sidebar_label
CommonEventEmitter.on

CommonEventEmitter.on() method

Signature:

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

Parameters

Parameter Type Description
event EventType
handler Handler

Returns:

CommonEventEmitter