CSSRule

interface · experimental

interface CSSRule

UNSTABLE: New API, yet to be vetted.

A single CSS rule of a CSSStyleSheet, as returned from its cssRules property. Requires the --unstable-raw-imports flag, or "unstable": ["raw-imports"] in ende.json.

Note: cssText is the verbatim text of one top-level rule of the style sheet; Ende does not implement a full CSS object model.

variable · experimental

var CSSRule: { … }

UNSTABLE: New API, yet to be vetted.

Requires the --unstable-raw-imports flag, or "unstable": ["raw-imports"] in ende.json.

Constructors

constructor

new CSSRule(): never

Properties

cssText

readonly cssText: string

prototype

readonly prototype: CSSRule