Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/pptr/mod.ts>Protocol.DOM.BoxModel

Headless Chrome Deno API
Latest
interface Protocol.DOM.BoxModel
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { BoxModel } = Protocol.DOM;

Box model.

Properties

content: Quad

Content box

padding: Quad

Padding box

border: Quad

Border box

margin: Quad

Margin box

width: integer

Node width

height: integer

Node height

optional
shapeOutside: ShapeOutsideInfo

Shape outside coordinates