chrome-devtools-kotlin / org.hildan.chrome.devtools.domains.dom / MoveToRequest

MoveToRequest

data class MoveToRequest

Request object containing input parameters for the DOMDomain.moveTo command.

Constructors

<init>

Request object containing input parameters for the DOMDomain.moveTo command.

MoveToRequest(nodeId: NodeId, targetNodeId: NodeId, insertBeforeNodeId: NodeId? = null)

Properties

insertBeforeNodeId

Drop node before this one (if absent, the moved node becomes the last child of targetNodeId).

val insertBeforeNodeId: NodeId?

nodeId

Id of the node to move.

val nodeId: NodeId

targetNodeId

Id of the element to drop the moved node into.

val targetNodeId: NodeId