puppeteer/new-docs/puppeteer.protocol.runtime.custompreview.bodygetterid.md
2020-07-13 14:01:35 +01:00

14 lines
733 B
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [Runtime](./puppeteer.protocol.runtime.md) &gt; [CustomPreview](./puppeteer.protocol.runtime.custompreview.md) &gt; [bodyGetterId](./puppeteer.protocol.runtime.custompreview.bodygetterid.md)
## Protocol.Runtime.CustomPreview.bodyGetterId property
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.
<b>Signature:</b>
```typescript
bodyGetterId?: RemoteObjectId;
```