0
0
mirror of https://github.com/puppeteer/puppeteer synced 2024-06-14 14:02:48 +00:00
puppeteer/new-docs/puppeteer.protocol.dom.scrollintoviewifneededrequest.rect.md
2020-07-13 14:01:35 +01:00

680 B

Home > puppeteer > Protocol > DOM > ScrollIntoViewIfNeededRequest > rect

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.

Signature:

rect?: Rect;