import { type Protocol } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { ScrollIntoViewIfNeededRequest } = Protocol.DOM;
Properties
optional
nodeId: NodeIdIdentifier of the node.
optional
backendNodeId: BackendNodeIdIdentifier of the backend node.
optional
objectId: Runtime.RemoteObjectIdJavaScript object id of the node wrapper.
optional
rect: RectThe rect to be scrolled into view, relative to the node's border box, in CSS pixels. When omitted, center of the node will be used, similar to Element.scrollIntoView.