getCssVariableAsNumber Function
Get CSS variable as number
getCssVariableAsNumber(variableName: string, htmlElement?: HTMLElement): number
Parameter | Type | Description |
---|---|---|
variableName | string | |
htmlElement | HTMLElement |
Returns - number
Defined in
Last Updated: 20 June, 2023