highlightSourceOrder

suspend fun highlightSourceOrder(args: Overlay.HighlightSourceOrderParameter, mode: CommandMode = CommandMode.DEFAULT)

Highlights the source order of the children of the DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified.


suspend fun highlightSourceOrder(sourceOrderConfig: Overlay.SourceOrderConfig, nodeId: Int? = null, backendNodeId: Int? = null, objectId: String? = null)

Highlights the source order of the children of the DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified.

Parameters

sourceOrderConfig

A descriptor for the appearance of the overlay drawing.

nodeId

Identifier of the node to highlight.

backendNodeId

Identifier of the backend node to highlight.

objectId

JavaScript object id of the node to be highlighted.