Skip to main content
Module

x/puppeteer_plus/mod.ts>Protocol.LayerTree.ScrollRect

Deno port of puppeteer base on latest TypeScript source.
Go to Latest
interface Protocol.LayerTree.ScrollRect
import { type Protocol } from "https://deno.land/x/puppeteer_plus@0.14.0/mod.ts";
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)