CssParserFunction Class
A function (https://wicg.github.io/css-parser-api/#cssparserfunction, https://drafts.csswg.org/css-syntax-3/#function): its name and its arguments, the component values between the commas at the top level of the function.
public sealed class CssParserFunction : CssParserValue- Inheritance
CssParserValueCssParserFunction
Constructors
| Name | Description |
|---|---|
| CssParserFunction(string, IEnumerable<IEnumerable<CssParserToken>>) | Creates a function (https://wicg.github.io/css-parser-api/#dom-cssparserfunction-cssparserfunction). |
CssParserFunction(string, IEnumerable<IEnumerable<CssParserToken>>)
CssParserObjects.csCreates a function (https://wicg.github.io/css-parser-api/#dom-cssparserfunction-cssparserfunction).
public CssParserFunction(string name, IEnumerable<IEnumerable<CssParserToken>> args)Parameters
namestring- The name of the function, without the parenthesis.
argsIEnumerable<IEnumerable<CssParserToken>>- The arguments: the component values between the commas.
See also
Properties
| Name | Description |
|---|---|
| Args | Gets the arguments: the component values between the commas at the top level of the function (n commas separate n + 1 arguments; a function without component values has no argument). |
| Name | Gets the name of the function, without the parenthesis. |
Gets the arguments: the component values between the commas at the top level of the function (n commas separate n + 1 arguments; a function without component values has no argument).
public IReadOnlyList<IReadOnlyList<CssParserToken>> Args { get; }Gets the name of the function, without the parenthesis.
public string Name { get; }