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

x/pptr/mod.ts>Protocol.Overlay.HingeConfig

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

Configuration for dual screen hinge

Properties

rect: DOM.Rect

A rectangle represent hinge

optional
contentColor: DOM.RGBA

The content box highlight fill color (default: a dark color).

optional
outlineColor: DOM.RGBA

The content box highlight outline color (default: transparent).