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

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

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

Properties

styleSheetId: StyleSheetId

The css style sheet identifier where a new rule should be inserted.

ruleText: string

The text of a new rule.

location: SourceRange

Text position of a new rule in the target style sheet.