MoveToRequest

@Serializable
data class MoveToRequest(val nodeId: NodeId, val targetNodeId: NodeId, val insertBeforeNodeId: NodeId? = null)(source)

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

Constructors

Link copied to clipboard
constructor(nodeId: NodeId, targetNodeId: NodeId, insertBeforeNodeId: NodeId? = null)

Types

Link copied to clipboard
class Builder(val nodeId: NodeId, val targetNodeId: NodeId)

Properties

Link copied to clipboard

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

Link copied to clipboard

Id of the node to move.

Link copied to clipboard

Id of the element to drop the moved node into.