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

x/pptr/mod.ts>Protocol.CSS.CSSProperty

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

CSS property declaration data.

Properties

name: string

The property name.

value: string

The property value.

optional
important: boolean

Whether the property has "!important" annotation (implies false if absent).

optional
implicit: boolean

Whether the property is implicit (implies false if absent).

optional
text: string

The full property text as specified in the style.

optional
parsedOk: boolean

Whether the property is understood by the browser (implies true if absent).

optional
disabled: boolean

Whether the property is disabled by the user (present for source-based properties only).

optional
range: SourceRange

The entire property range in the enclosing style declaration (if available).