import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.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