Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CSSConditionRule

A single condition CSS at-rule, which consists of a condition and a statement block. It is a child of CSSGroupingRule.

Hierarchy

Index

Properties

Readonly CHARSET_RULE

CHARSET_RULE: number

CSSGroupingRule

CSSGroupingRule: { constructor: any; prototype: CSSGroupingRule }

Type declaration

Readonly FONT_FACE_RULE

FONT_FACE_RULE: number

Readonly IMPORT_RULE

IMPORT_RULE: number

Readonly KEYFRAMES_RULE

KEYFRAMES_RULE: number

Readonly KEYFRAME_RULE

KEYFRAME_RULE: number

Readonly MEDIA_RULE

MEDIA_RULE: number

Readonly NAMESPACE_RULE

NAMESPACE_RULE: number

Readonly PAGE_RULE

PAGE_RULE: number

Readonly STYLE_RULE

STYLE_RULE: number

Readonly SUPPORTS_RULE

SUPPORTS_RULE: number

conditionText

conditionText: string

Readonly cssRules

cssRules: CSSRuleList

cssText

cssText: string

Readonly parentRule

parentRule: CSSRule | null

Readonly parentStyleSheet

parentStyleSheet: CSSStyleSheet | null

Readonly type

type: number

Methods

deleteRule

  • deleteRule(index: number): void
  • Parameters

    • index: number

    Returns void

insertRule

  • insertRule(rule: string, index?: number): number
  • Parameters

    • rule: string
    • Optional index: number

    Returns number

Generated using TypeDoc