24 lines
558 B
Markdown
24 lines
558 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [CommonEventEmitter](./puppeteer.commoneventemitter.md) > [emit](./puppeteer.commoneventemitter.emit.md)
|
||
|
|
||
|
## CommonEventEmitter.emit() method
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
emit(event: EventType, eventData?: unknown): boolean;
|
||
|
```
|
||
|
|
||
|
## Parameters
|
||
|
|
||
|
| Parameter | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| event | [EventType](./puppeteer.eventtype.md) | |
|
||
|
| eventData | unknown | |
|
||
|
|
||
|
<b>Returns:</b>
|
||
|
|
||
|
boolean
|
||
|
|