puppeteer/website/versioned_docs/version-21.9.0/api/puppeteer.commoneventemitter.md

25 lines
1.1 KiB
Markdown
Raw Normal View History

---
sidebar_label: CommonEventEmitter
---
# CommonEventEmitter interface
#### Signature:
```typescript
export interface CommonEventEmitter<Events extends Record<EventType, unknown>>
```
## Methods
| Method | Description |
| -------------------------------------------------------------------------- | ----------- |
| [addListener](./puppeteer.commoneventemitter.addlistener.md) | |
| [emit](./puppeteer.commoneventemitter.emit.md) | |
| [listenerCount](./puppeteer.commoneventemitter.listenercount.md) | |
| [off](./puppeteer.commoneventemitter.off.md) | |
| [on](./puppeteer.commoneventemitter.on.md) | |
| [once](./puppeteer.commoneventemitter.once.md) | |
| [removeAllListeners](./puppeteer.commoneventemitter.removealllisteners.md) | |
| [removeListener](./puppeteer.commoneventemitter.removelistener.md) | |