Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pptr/mod.ts>Protocol.DOM.MoveToRequest

Headless Chrome Deno API
Latest
interface Protocol.DOM.MoveToRequest
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { MoveToRequest } = Protocol.DOM;

Properties

nodeId: NodeId

Id of the node to move.

targetNodeId: NodeId

Id of the element to drop the moved node into.

optional
insertBeforeNodeId: NodeId

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