mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
20 lines
1.0 KiB
Markdown
20 lines
1.0 KiB
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [Runtime](./puppeteer.protocol.runtime.md) > [CustomPreview](./puppeteer.protocol.runtime.custompreview.md)
|
||
|
|
||
|
## Protocol.Runtime.CustomPreview interface
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
export interface CustomPreview
|
||
|
```
|
||
|
|
||
|
## Properties
|
||
|
|
||
|
| Property | Type | Description |
|
||
|
| --- | --- | --- |
|
||
|
| [bodyGetterId](./puppeteer.protocol.runtime.custompreview.bodygetterid.md) | [RemoteObjectId](./puppeteer.protocol.runtime.remoteobjectid.md) | If formatter returns true as a result of formatter.hasBody call then bodyGetterId will contain RemoteObjectId for the function that returns result of formatter.body(object, config) call. The result value is json ML array. |
|
||
|
| [header](./puppeteer.protocol.runtime.custompreview.header.md) | string | The JSON-stringified result of formatter.header(object, config) call. It contains json ML array that represents RemoteObject. |
|
||
|
|