CSSVariableReferenceValue: CSSVariableReferenceValue() constructor
Creates a new CSSVariableReferenceValue
.
Syntax
new CSSVariableReferenceValue(variable)
new CSSVariableReferenceValue(variable, fallback)
Parameters
variable
fallback
Optional
Specifications
Specification |
---|
CSS Typed OM Level 1 # dom-cssvariablereferencevalue-cssvariablereferencevalue |
Browser compatibility
BCD tables only load in the browser