pl.wendigo.chrome.api.overlay / SetInspectModeRequest

SetInspectModeRequest

data class SetInspectModeRequest (source)

Represents request frame that can be used with Overlay#setInspectMode operation call.

Enters the 'inspect' mode. In this mode, elements that user is hovering over are highlighted. Backend then generates 'inspectNodeRequested' event upon element selection.

Link
Overlay#setInspectMode method documentation.

See Also

OverlayOperations.setInspectMode

Constructors

<init>

SetInspectModeRequest(mode: InspectMode, highlightConfig: HighlightConfig? = null)

Represents request frame that can be used with Overlay#setInspectMode operation call.

Properties

highlightConfig

val highlightConfig: HighlightConfig?

A descriptor for the highlight appearance of hovered-over nodes. May be omitted if enabled == false.

mode

val mode: InspectMode

Set an inspection mode.