Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for CSSMathInvert: CSSMathInvert() constructor.
Developer library 6
CSSMathProduct
at exposes the `calc()` product's original terms. 300 ## Specifications ## Browser compatibility ## See also - mul() - div() - CSSMathValue.operator - CSSMathInvert - CSSMathSum
CSSMathNegate
internal negation step that sub() applies to its arguments before adding them: negating a CSSMathSum, CSSMathProduct, CSSMathMin, CSSMathMax, CSSMathClamp, or CSSMathInvert wraps it in a `CSSMathNegate`. Negating a plain CSSUnitValue (a length, percentage, etc.) instead flips the sign of its `value` directly, so subtracting simple values doesn't normally produce a `CSSMathNegate`. A `CSSMathNegate` can also appear
CSSMathNegate: value property
thNegate(CSS.px(10)); console.log(negated.value); // CSSUnitValue {value: 10, unit: "px"} ``` ## Specifications ## Browser compatibility ## See also - CSSMathInvert.value
CSSMathValue
NumericValue._ ## Instance methods _Also inherits methods from its parent interface, CSSNumericValue._ ## Interfaces based on CSSMathValue - CSSMathClamp - CSSMathInvert - CSSMathMax - CSSMathMin - CSSMathNegate - CSSMathProduct - CSSMathSum ## Examples ### `calc()` representations This example shows how the operator property identifies the operation represented by a calc() value's `CSSMathValue` subtype, incl
CSSMathInvert
CSS Typed Object Model API The **`CSSMathInvert`** interface of the [CSS Typed Object Model API](/docs/Web/API/CSS_Object_Model) represents the inverse (reciprocal) of a CSSNumericValue. ## Constructor - CSSMathInvert() - : Creates a new `CSSMathInvert` object. ## Instance properties _Also inherits properties from its parent interface, CSSMathValue._ - CSSMathInvert.value - : Returns a CSSNumericValue o
CSSMathInvert: value property
CSS Typed Object Model API The **`value`** read-only property of the CSSMathInvert interface returns the CSSNumericValue that is being inverted. This is the parameter that was passed to the constructor when this object was created. ## Value A CSSNumericValue or one of its derived types. ## Examples ### Basic usage The following code creates a `CSSMathInvert` object, then reads its `value`. ```js const invert