MoveToRequest

data class MoveToRequest(nodeId: NodeId, targetNodeId: NodeId, insertBeforeNodeId: NodeId?)

Represents request frame that can be used with DOM#moveTo operation call.

Moves node into the new container, places it before the given anchor.

See also

Constructors

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

Properties

insertBeforeNodeId
Link copied to clipboard
val insertBeforeNodeId: NodeId? = null
Drop node before this one (if absent, the moved node becomes the last child of targetNodeId).
nodeId
Link copied to clipboard
val nodeId: NodeId
Id of the node to move.
targetNodeId
Link copied to clipboard
val targetNodeId: NodeId
Id of the element to drop the moved node into.

Sources

jvm source
Link copied to clipboard