mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
25 lines
1.1 KiB
Markdown
25 lines
1.1 KiB
Markdown
|
---
|
||
|
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) | |
|