mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
1.3 KiB
1.3 KiB
Home > puppeteer > Protocol > DOM > ScrollIntoViewIfNeededRequest
Protocol.DOM.ScrollIntoViewIfNeededRequest interface
Signature:
export interface ScrollIntoViewIfNeededRequest
Properties
Property | Type | Description |
---|---|---|
backendNodeId | BackendNodeId | Identifier of the backend node. |
nodeId | NodeId | Identifier of the node. |
objectId | Runtime.RemoteObjectId | JavaScript object id of the node wrapper. |
rect | Rect | The 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. |