Class CSSFunctionRule
CSS function at-rule representation.
public sealed class CSSFunctionRule
- Inheritance
-
CSSFunctionRule
- Inherited Members
Properties
Children
Function body.
[JsonPropertyName("children")]
public CSSFunctionNode[] Children { get; set; }
Property Value
Name
Name of the function.
[JsonPropertyName("name")]
public Value Name { get; set; }
Property Value
Origin
Parent stylesheet's origin.
[JsonPropertyName("origin")]
public StyleSheetOrigin Origin { get; set; }
Property Value
OriginTreeScopeNodeId
The BackendNodeId of the DOM node that constitutes the origin tree scope of this rule.
[JsonPropertyName("originTreeScopeNodeId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public long? OriginTreeScopeNodeId { get; set; }
Property Value
- long?
Parameters
List of parameters.
[JsonPropertyName("parameters")]
public CSSFunctionParameter[] Parameters { get; set; }
Property Value
StyleSheetId
The css style sheet identifier (absent for user agent stylesheet and user-specified stylesheet rules) this rule came from.
[JsonPropertyName("styleSheetId")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string? StyleSheetId { get; set; }