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

874 B

Home > puppeteer > Protocol > LayerTree > ScrollRect

Protocol.LayerTree.ScrollRect interface

Rectangle where scrolling happens on the main thread.

Signature:

export interface ScrollRect 

Properties

Property Type Description
rect DOM.Rect Rectangle itself.
type ('RepaintsOnScroll' | 'TouchEventHandler' | 'WheelEventHandler') Reason for rectangle to force scrolling on the main thread