Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CSSGroupingRule

Any CSS at-rule that contains other rules nested within it.

Hierarchy

Index

Properties

Readonly CHARSET_RULE

CHARSET_RULE: number

CSSRule

CSSRule: { constructor: any; CHARSET_RULE: number; FONT_FACE_RULE: number; IMPORT_RULE: number; KEYFRAMES_RULE: number; KEYFRAME_RULE: number; MEDIA_RULE: number; NAMESPACE_RULE: number; PAGE_RULE: number; STYLE_RULE: number; SUPPORTS_RULE: number; prototype: CSSRule }

Type declaration

  • constructor: function
    • Returns CSSRule

  • Readonly CHARSET_RULE: number
  • Readonly FONT_FACE_RULE: number
  • Readonly IMPORT_RULE: number
  • Readonly KEYFRAMES_RULE: number
  • Readonly KEYFRAME_RULE: number
  • Readonly MEDIA_RULE: number
  • Readonly NAMESPACE_RULE: number
  • Readonly PAGE_RULE: number
  • Readonly STYLE_RULE: number
  • Readonly SUPPORTS_RULE: number
  • prototype: CSSRule

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

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