puppeteer/new-docs/puppeteer.protocol.dom.scrollintoviewifneededrequest.md
2020-07-13 14:01:35 +01:00

22 lines
1.3 KiB
Markdown

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [Protocol](./puppeteer.protocol.md) &gt; [DOM](./puppeteer.protocol.dom.md) &gt; [ScrollIntoViewIfNeededRequest](./puppeteer.protocol.dom.scrollintoviewifneededrequest.md)
## Protocol.DOM.ScrollIntoViewIfNeededRequest interface
<b>Signature:</b>
```typescript
export interface ScrollIntoViewIfNeededRequest
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [backendNodeId](./puppeteer.protocol.dom.scrollintoviewifneededrequest.backendnodeid.md) | [BackendNodeId](./puppeteer.protocol.dom.backendnodeid.md) | Identifier of the backend node. |
| [nodeId](./puppeteer.protocol.dom.scrollintoviewifneededrequest.nodeid.md) | [NodeId](./puppeteer.protocol.dom.nodeid.md) | Identifier of the node. |
| [objectId](./puppeteer.protocol.dom.scrollintoviewifneededrequest.objectid.md) | [Runtime.RemoteObjectId](./puppeteer.protocol.runtime.remoteobjectid.md) | JavaScript object id of the node wrapper. |
| [rect](./puppeteer.protocol.dom.scrollintoviewifneededrequest.rect.md) | [Rect](./puppeteer.protocol.dom.rect.md) | 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. |