puppeteer/website/versioned_docs/version-19.1.0/api/puppeteer.commoneventemitter.md
2022-10-21 15:52:43 +02: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)