puppeteer/new-docs/puppeteer.protocol.layertree.scrollrect.type.md

14 lines
607 B
Markdown
Raw Normal View History

<!-- 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; [LayerTree](./puppeteer.protocol.layertree.md) &gt; [ScrollRect](./puppeteer.protocol.layertree.scrollrect.md) &gt; [type](./puppeteer.protocol.layertree.scrollrect.type.md)
## Protocol.LayerTree.ScrollRect.type property
Reason for rectangle to force scrolling on the main thread (ScrollRectType enum)
<b>Signature:</b>
```typescript
type: ('RepaintsOnScroll' | 'TouchEventHandler' | 'WheelEventHandler');
```