pl.wendigo.chrome.api.dom / MoveToRequest

MoveToRequest

data class MoveToRequest (source)

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

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

Link
DOM#moveTo method documentation.

See Also

DOMOperations.moveTo

Constructors

<init>

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

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

Properties

insertBeforeNodeId

val insertBeforeNodeId: NodeId?

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

nodeId

val nodeId: NodeId

Id of the node to move.

targetNodeId

val targetNodeId: NodeId

Id of the element to drop the moved node into.