Class CSSNestedDeclarations
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
The CSSNestedDeclarations interface of the CSS Rule API is used to group nested CSSRules.
[Value("CSSNestedDeclarations")]
public class CSSNestedDeclarations : CSSRule
- Inheritance
-
CSSNestedDeclarations
- Inherited Members
Remarks
The interface allows the CSS Object Model (CSSOM to mirror the structure of CSS documents with nested CSS rules, and ensure that rules are parsed and evaluated in the order that they are declared.
NOTE
Implementations that do not support this interface may parse nested rules in the wrong order.
See Browser compatibility for more information.
Constructors
CSSNestedDeclarations()
public CSSNestedDeclarations()
Properties
Style
The read-only style property of the CSSNestedDeclarations interface represents the styles associated with the nested rules.
[Value("style")]
public CSSStyleProperties Style { get; }
Property Value
- CSSStyleProperties
An object.