getCssVariableAsNumber Function
Deprecated in 4.15.0. Used internally.
Get CSS variable as number
getCssVariableAsNumber(variableName: string, htmlElement?: HTMLElement): number
Parameter | Type | Description |
---|---|---|
variableName | string | |
htmlElement | HTMLElement |
Returns - number
Defined in
Last Updated: 17 December, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.