puppeteer/docs/api/puppeteer.commoneventemitter.on.md
2022-07-01 11:52:39 +00: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