Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
interface Protocol.LayerTree.ScrollRect
import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.js";
const { ScrollRect } = Protocol.LayerTree;

Rectangle where scrolling happens on the main thread.

Properties

rect: DOM.Rect

Rectangle itself.

type: ("RepaintsOnScroll" | "TouchEventHandler" | "WheelEventHandler")

Reason for rectangle to force scrolling on the main thread (ScrollRectType enum)