puppeteer/website/versioned_docs/version-19.5.0/api/puppeteer.commoneventemitter.md
2023-01-09 10:58:41 +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)