CSSMathValue

The CSSMathValue interface of the CSS Typed Object Model API a base class for classes representing complex numeric values.

MDN Reference

Inheritors

Properties

Link copied to clipboard

The CSSMathValue.operator read-only property of the CSSMathValue interface indicates the operator that the current subtype represents.

Functions

Link copied to clipboard
fun add(vararg values: CSSNumberish): CSSNumericValue

The add() method of the CSSNumericValue.

Link copied to clipboard
fun div(vararg values: CSSNumberish): CSSNumericValue

The div() method of the supplied value.

Link copied to clipboard
fun equals(vararg value: CSSNumberish): Boolean

The equals() method of the value are strictly equal.

Link copied to clipboard
fun max(vararg values: CSSNumberish): CSSNumericValue

The max() method of the passed.

Link copied to clipboard
fun min(vararg values: CSSNumberish): CSSNumericValue

The min() method of the values passed.

Link copied to clipboard
fun mul(vararg values: CSSNumberish): CSSNumericValue

The mul() method of the the supplied value.

Link copied to clipboard
fun sub(vararg values: CSSNumberish): CSSNumericValue

The sub() method of the CSSNumericValue.

Link copied to clipboard
fun to(unit: String): CSSUnitValue

The to() method of the another.

Link copied to clipboard
fun toSum(vararg units: String): CSSMathSum

The toSum() method of the ``js-nolint toSum(units) `` - units - : The units to convert to.

Link copied to clipboard

The type() method of the CSSNumericValue, one of angle, flex, frequency, length, resolution, percent, percentHint, or time.