CalculationInterpolation
Hierarchy
- CalculationInterpolation
Implements
Index
Constructors
constructor
- new CalculationInterpolation(value: string): CalculationInterpolation
-
Creates a Sass CalculationInterpolation with the given
value.Parameters
-
value: string
Returns CalculationInterpolation
-
Accessors
value
- get value(): string
-
Returns the interpolation's
valuefield.Returns string
Methods
equals
- equals(other: unknown): boolean
-
Parameters
-
other: unknown
Returns boolean
-
hashCode
- hashCode(): number
-
Returns number
© 2006–2025 the Sass team, and numerous contributors
Licensed under the MIT License.
https://sass-lang.com/documentation/js-api/classes/CalculationInterpolation
A string injected into a SassCalculation using interpolation. Unlike unquoted strings, interpolations are always surrounded in parentheses when they appear in CalculationOperations.