14 lines
680 B
Markdown
14 lines
680 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [puppeteer](./puppeteer.md) > [Protocol](./puppeteer.protocol.md) > [DOM](./puppeteer.protocol.dom.md) > [ScrollIntoViewIfNeededRequest](./puppeteer.protocol.dom.scrollintoviewifneededrequest.md) > [rect](./puppeteer.protocol.dom.scrollintoviewifneededrequest.rect.md)
|
||
|
|
||
|
## Protocol.DOM.ScrollIntoViewIfNeededRequest.rect property
|
||
|
|
||
|
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.
|
||
|
|
||
|
<b>Signature:</b>
|
||
|
|
||
|
```typescript
|
||
|
rect?: Rect;
|
||
|
```
|