mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
23f18d8cc0
This PR starts exploring the Page class and how to best document it. It explores how best to document events in the system, and I think pulling them out into an `enum` is the best solution here. It lets us end up with a page of docs that explicitly lists all the events the page class can ever emit.
21 lines
640 B
Markdown
21 lines
640 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [PageEmittedEvents](./puppeteer.pageemittedevents.md)
|
|
|
|
## PageEmittedEvents enum
|
|
|
|
All the events that a page instance may emit.
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
export declare const enum PageEmittedEvents
|
|
```
|
|
|
|
## Enumeration Members
|
|
|
|
| Member | Value | Description |
|
|
| --- | --- | --- |
|
|
| WorkerCreated | <code>"workercreated"</code> | Emitted when a dedicated [WebWorker](https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API) is spawned by the page. |
|
|
|