import { type Protocol } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { Layer } = Protocol.LayerTree;
Information about a compositing layer.
Properties
layerId: LayerId
The unique id for this layer.
optional
parentLayerId: LayerIdThe id of parent (not present for root).
optional
backendNodeId: DOM.BackendNodeIdThe backend id for the node associated with this layer.
paintCount: integer
Indicates how many time this layer has painted.
Indicates whether this layer hosts any content, rather than being used for transform/scrolling purposes only.
optional
scrollRects: ScrollRect[]Rectangles scrolling on main thread only.
optional
stickyPositionConstraint: StickyPositionConstraintSticky position constraint information