puppeteer/website/versioned_docs/version-19.2.2/api/puppeteer.commoneventemitter.md
2022-11-03 11:02:28 +01:00

1.1 KiB

sidebar_label
CommonEventEmitter

CommonEventEmitter interface

Signature:

export interface CommonEventEmitter

Methods

Method Description
addListener(event, handler)
emit(event, eventData)
listenerCount(event)
off(event, handler)
on(event, handler)
once(event, handler)
removeAllListeners(event)
removeListener(event, handler)