2020-07-13 13:01:35 +00:00
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home ](./index.md ) > [puppeteer ](./puppeteer.md ) > [Protocol ](./puppeteer.protocol.md ) > [LayerTree ](./puppeteer.protocol.layertree.md ) > [ScrollRect ](./puppeteer.protocol.layertree.scrollrect.md )
## Protocol.LayerTree.ScrollRect interface
Rectangle where scrolling happens on the main thread.
< b > Signature:< / b >
```typescript
export interface ScrollRect
```
## Properties
| Property | Type | Description |
| --- | --- | --- |
| [rect ](./puppeteer.protocol.layertree.scrollrect.rect.md ) | [DOM.Rect ](./puppeteer.protocol.dom.rect.md ) | Rectangle itself. |
2020-07-20 15:17:06 +00:00
| [type ](./puppeteer.protocol.layertree.scrollrect.type.md ) | ('RepaintsOnScroll' \| 'TouchEventHandler' \| 'WheelEventHandler') | Reason for rectangle to force scrolling on the main thread (ScrollRectType enum) |
2020-07-13 13:01:35 +00:00