CopyToRequest

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

Request object containing input parameters for the DOMDomain.copyTo 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 the copy before this node (if absent, the copy becomes the last child of targetNodeId).

Link copied to clipboard

Id of the node to copy.

Link copied to clipboard

Id of the element to drop the copy into.