Options
All
  • Public
  • Public/Protected
  • All
Menu

An object representing a single CSS @supports at-rule. It implements the CSSConditionRule interface, and therefore the CSSRule and CSSGroupingRule interfaces with a type value of 12 (CSSRule.SUPPORTS_RULE).

Hierarchy

Index

Properties

CHARSET_RULE

CHARSET_RULE: number

CSSConditionRule

CSSConditionRule: object

Type declaration

FONT_FACE_RULE

FONT_FACE_RULE: number

IMPORT_RULE

IMPORT_RULE: number

KEYFRAMES_RULE

KEYFRAMES_RULE: number

KEYFRAME_RULE

KEYFRAME_RULE: number

MEDIA_RULE

MEDIA_RULE: number

NAMESPACE_RULE

NAMESPACE_RULE: number

PAGE_RULE

PAGE_RULE: number

STYLE_RULE

STYLE_RULE: number

SUPPORTS_RULE

SUPPORTS_RULE: number

UNKNOWN_RULE

UNKNOWN_RULE: number

VIEWPORT_RULE

VIEWPORT_RULE: number

conditionText

conditionText: string

cssRules

cssRules: CSSRuleList

cssText

cssText: string

parentRule

parentRule: CSSRule | null

parentStyleSheet

parentStyleSheet: CSSStyleSheet | null

type

type: number

Methods

deleteRule

  • deleteRule(index: number): void
  • Parameters

    • index: number

    Returns void

insertRule

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

    • rule: string
    • index: number

    Returns number

Generated using TypeDoc