Skip to main content
Module

x/astral/bindings/celestial.ts>DOMSnapshot_LayoutTreeSnapshot

A high-level puppeteer/playwright-like library for Deno
Go to Latest
type alias DOMSnapshot_LayoutTreeSnapshot
import { type DOMSnapshot_LayoutTreeSnapshot } from "https://deno.land/x/astral@0.3.1/bindings/celestial.ts";

Table of details of an element in the DOM tree with a LayoutObject.

definition: { nodeIndex: number[]; styles: DOMSnapshot_ArrayOfStrings[]; bounds: DOMSnapshot_Rectangle[]; text: DOMSnapshot_StringIndex[]; stackingContexts: DOMSnapshot_RareBooleanData; paintOrders?: number[]; offsetRects?: DOMSnapshot_Rectangle[]; scrollRects?: DOMSnapshot_Rectangle[]; clientRects?: DOMSnapshot_Rectangle[]; blendedBackgroundColors?: DOMSnapshot_StringIndex[]; textColorOpacities?: number[]; }