Class CSSPositionTryRule
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
The CSSPositionTryRule interface describes an object representing a @position-try at-rule.
[Value("CSSPositionTryRule")]
public class CSSPositionTryRule : CSSRule
- Inheritance
-
CSSPositionTryRule
- Inherited Members
Remarks
-CSSPositionTryDescriptors
-@position-try
-position-try-fallbacks
-CSS anchor positioning module
-Using CSS anchor positioning
-Handling overflow: try options and conditional hiding
Constructors
CSSPositionTryRule()
public CSSPositionTryRule()
Properties
Name
The name read-only property of the CSSPositionTryRule interface represents the name of the position try fallback option specified by the _position-try at-rule's dashed-ident.
[Value("name")]
public string Name { get; }
Property Value
- string
A string.
Remarks
-CSSPositionTryDescriptors
-@position-try
-position-try-fallbacks
-CSS anchor positioning module
-Using CSS anchor positioning
-Handling overflow: try options and conditional hiding
Style
The style read-only property of the CSSPositionTryRule interface returns a CSSPositionTryDescriptors object representing the declarations set in the body of the _position-try at-rule.
[Value("style")]
public CSSPositionTryDescriptors Style { get; }