The CSSNumericValue interface of the CSS Typed Object Model API operations that all numeric values can perform.
The CSSNumericValue interface of the CSS Typed Object Model API operations that all numeric values can perform.
(add this & args)
Method.
The add() method of the css.CSSNumericValue
interface adds
supplied number to the CSSNumericValue.
var cssMathSum = CSSNumericValue.add(double | CSSNumericValue);
See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSNumericValue/add
Method. The add() method of the `css.CSSNumericValue` interface adds supplied number to the CSSNumericValue. `var cssMathSum = CSSNumericValue.add(double | CSSNumericValue);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/CSSNumericValue/add`
(div this number)
Method.
The div() method of the css.CSSNumericValue
interface divides
CSSNumericValue by the supplied value.
var cssNumericValue = CSSNumericValue.div(number);
See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSNumericValue/div
Method. The div() method of the `css.CSSNumericValue` interface divides CSSNumericValue by the supplied value. `var cssNumericValue = CSSNumericValue.div(number);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/CSSNumericValue/div`
(equals this number)
Method.
The equals() method of the css.CSSNumericValue
interface returns
boolean indicating whether the passed value are strictly equal.
return a value of true, all passed values must be of the same
and value and must be in the same order. This allows structural
to be tested quickly.
var boolean = CSSNumericValue.equals(number);
See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSNumericValue/equals
Method. The equals() method of the `css.CSSNumericValue` interface returns boolean indicating whether the passed value are strictly equal. return a value of true, all passed values must be of the same and value and must be in the same order. This allows structural to be tested quickly. `var boolean = CSSNumericValue.equals(number);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/CSSNumericValue/equals`
(max this & args)
Method.
The max() method of the css.CSSNumericValue
interface returns
highest value from among the values passed. The passed values
be of the same type.
var cssUnitValue = CSSNumericValue.man(number1 ... numbern);
See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSNumericValue/max
Method. The max() method of the `css.CSSNumericValue` interface returns highest value from among the values passed. The passed values be of the same type. `var cssUnitValue = CSSNumericValue.man(number1 ... numbern);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/CSSNumericValue/max`
(min this & args)
Method.
The min() method of the css.CSSNumericValue
interface returns
lowest value from among those values passed. The passed values
be of the same type.
var cssUnitValue = CSSNumericValue.min(number1 ... numbern);
See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSNumericValue/min
Method. The min() method of the `css.CSSNumericValue` interface returns lowest value from among those values passed. The passed values be of the same type. `var cssUnitValue = CSSNumericValue.min(number1 ... numbern);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/CSSNumericValue/min`
(mul this number)
Method.
The mul() method of the css.CSSNumericValue
interface multiplies
CSSNumericValue by the supplied value.
var cssMathProduct = CSSNumericValue.mul(number);
See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSNumericValue/mul
Method. The mul() method of the `css.CSSNumericValue` interface multiplies CSSNumericValue by the supplied value. `var cssMathProduct = CSSNumericValue.mul(number);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/CSSNumericValue/mul`
(parse this css-text)
Method.
The parse() method of the css.CSSNumericValue
interface converts
value string into an object whose members are value and the units.
var cssNumericValue = CSSNumericValue.parse(cssText);
See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSNumericValue/parse
Method. The parse() method of the `css.CSSNumericValue` interface converts value string into an object whose members are value and the units. `var cssNumericValue = CSSNumericValue.parse(cssText);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/CSSNumericValue/parse`
(sub this number)
Method.
The sub() method of the css.CSSNumericValue
interface subtracts
supplied number from the CSSNumericValue.
var cssMathSum = CSSNumericValue.sub(number);
See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSNumericValue/sub
Method. The sub() method of the `css.CSSNumericValue` interface subtracts supplied number from the CSSNumericValue. `var cssMathSum = CSSNumericValue.sub(number);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/CSSNumericValue/sub`
(sum this number)
Method.
The sub() method of the css.CSSNumericValue
interface subtracts
supplied number from the CSSNumericValue.
var cssMathSum = CSSNumericValue.sub(number);
See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSNumericValue/sum
Method. The sub() method of the `css.CSSNumericValue` interface subtracts supplied number from the CSSNumericValue. `var cssMathSum = CSSNumericValue.sub(number);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/CSSNumericValue/sum`
(to this unit)
Method.
The to() method of the css.CSSNumericValue
interface converts
numberic value from one unit to another.
var cssUnitValue = CSSNumericVAlue.to(unit);
See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSNumericValue/to
Method. The to() method of the `css.CSSNumericValue` interface converts numberic value from one unit to another. `var cssUnitValue = CSSNumericVAlue.to(unit);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/CSSNumericValue/to`
(to-sum this units)
Method.
The toSum() method of the css.CSSNumericValue
interface converts
object's value to a css.CSSMathSum
object to values of the
unit.
var cssMathSum = CSSNumericValue.toSum(units);
See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSNumericValue/toSum
Method. The toSum() method of the `css.CSSNumericValue` interface converts object's value to a `css.CSSMathSum` object to values of the unit. `var cssMathSum = CSSNumericValue.toSum(units);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/CSSNumericValue/toSum`
(type this)
Method.
The type() method of the css.CSSNumericValue
interface returns
type of CSSNumericValue, one of angle, flex, frequency, length,
percent, percentHint, or time.
var cssNumericType = CSSNumericValue.type();
See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSNumericValue/type
Method. The type() method of the `css.CSSNumericValue` interface returns type of CSSNumericValue, one of angle, flex, frequency, length, percent, percentHint, or time. `var cssNumericType = CSSNumericValue.type();` See also: `https://developer.mozilla.org/en-US/docs/Web/API/CSSNumericValue/type`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close