Module

x/evt/lib/index.ts

šŸ’§EventEmitter's typesafe replacement
Go to Latest
interface dom.CSSStyleSheet
implements StyleSheet
import { type dom } from "https://deno.land/x/evt@v2.3.1/lib/index.ts";
const { CSSStyleSheet } = dom;

A single CSS style sheet. It inherits properties and methods from its parent, StyleSheet.

Properties

readonly
cssRules: CSSRuleList
deprecated
cssText: string
readonly
deprecated
id: string
readonly
deprecated
imports: StyleSheetList
readonly
deprecated
isAlternate: boolean
readonly
deprecated
isPrefAlternate: boolean
readonly
ownerRule: CSSRule | null
readonly
deprecated
owningElement: Element
readonly
deprecated
pages: any
readonly
deprecated
readOnly: boolean
readonly
rules: CSSRuleList

Methods

deprecated
addImport(bstrURL: string, lIndex?: number): number
deprecated
addPageRule(
bstrSelector: string,
bstrStyle: string,
lIndex?: number,
): number
addRule(
bstrSelector: string,
bstrStyle?: string,
lIndex?: number,
): number
deleteRule(index?: number): void
insertRule(rule: string, index?: number): number
deprecated
removeImport(lIndex: number): void
removeRule(lIndex: number): void