Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.Runtime.CustomPreview
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { CustomPreview } = Protocol.Runtime;

Properties

header: string

The JSON-stringified result of formatter.header(object, config) call. It contains json ML array that represents RemoteObject.

optional
bodyGetterId: RemoteObjectId

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.