chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.runtime / CustomPreview

CustomPreview

data class CustomPreview

Constructors

<init>

CustomPreview(header: String, bodyGetterId: RemoteObjectId? = null)

Properties

bodyGetterId

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.

val bodyGetterId: RemoteObjectId?

header

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

val header: String