Home / Class/ CSSRule Class — react Architecture

CSSRule Class — react Architecture

Architecture documentation for the CSSRule class in cssom.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  7dd35698_2d31_e230_97bd_bba008ac4819["CSSRule"]
  4f6efd78_91b7_d3a9_51a9_3f6b736c01e0["cssom.js"]
  7dd35698_2d31_e230_97bd_bba008ac4819 -->|defined in| 4f6efd78_91b7_d3a9_51a9_3f6b736c01e0

Relationship Graph

Source Code

flow-typed/environments/cssom.js lines 60–81

declare class CSSRule {
  cssText: string;
  +parentRule: ?CSSRule;
  +parentStyleSheet: ?CSSStyleSheet;
  +type: number;
  static STYLE_RULE: number;
  static MEDIA_RULE: number;
  static FONT_FACE_RULE: number;
  static PAGE_RULE: number;
  static IMPORT_RULE: number;
  static CHARSET_RULE: number;
  static UNKNOWN_RULE: number;
  static KEYFRAMES_RULE: number;
  static KEYFRAME_RULE: number;
  static NAMESPACE_RULE: number;
  static COUNTER_STYLE_RULE: number;
  static SUPPORTS_RULE: number;
  static DOCUMENT_RULE: number;
  static FONT_FEATURE_VALUES_RULE: number;
  static VIEWPORT_RULE: number;
  static REGION_STYLE_RULE: number;
}

Frequently Asked Questions

What is the CSSRule class?
CSSRule is a class in the react codebase, defined in flow-typed/environments/cssom.js.
Where is CSSRule defined?
CSSRule is defined in flow-typed/environments/cssom.js at line 60.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free