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.
[Draft] [Experimental]
The add() method of the web.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. [Draft] [Experimental] The add() method of the `web.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.
[Draft] [Experimental]
The div() method of the web.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. [Draft] [Experimental] The div() method of the `web.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.
[Draft] [Experimental]
The equals() method of the web.css.CSSNumericValue
interface
a 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. [Draft] [Experimental] The equals() method of the `web.css.CSSNumericValue` interface a 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.
[Draft] [Experimental]
The max() method of the web.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. [Draft] [Experimental] The max() method of the `web.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.
[Draft] [Experimental]
The min() method of the web.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. [Draft] [Experimental] The min() method of the `web.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.
[Draft] [Experimental]
The mul() method of the web.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. [Draft] [Experimental] The mul() method of the `web.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.
[Draft] [Experimental]
The parse() method of the web.css.CSSNumericValue
interface
a value string into an object whose members are value and the
var cssNumericValue = CSSNumericValue.parse(cssText);
See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSNumericValue/parse
Method. [Draft] [Experimental] The parse() method of the `web.css.CSSNumericValue` interface a value string into an object whose members are value and the `var cssNumericValue = CSSNumericValue.parse(cssText);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/CSSNumericValue/parse`
(sub this number)
Method.
[Draft] [Experimental]
The sub() method of the web.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. [Draft] [Experimental] The sub() method of the `web.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.
[Draft] [Experimental]
The sub() method of the web.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. [Draft] [Experimental] The sub() method of the `web.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.
[Draft] [Experimental]
The to() method of the web.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. [Draft] [Experimental] The to() method of the `web.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.
[Draft] [Experimental]
The toSum() method of the web.css.CSSNumericValue
interface
the object's value to a web.css.CSSMathSum
object to values
the specified unit.
var cssMathSum = CSSNumericValue.toSum(units);
See also: https://developer.mozilla.org/en-US/docs/Web/API/CSSNumericValue/toSum
Method. [Draft] [Experimental] The toSum() method of the `web.css.CSSNumericValue` interface the object's value to a `web.css.CSSMathSum` object to values the specified unit. `var cssMathSum = CSSNumericValue.toSum(units);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/CSSNumericValue/toSum`
(type this)
Method.
[Draft] [Experimental]
The type() method of the web.css.CSSNumericValue
interface
the 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. [Draft] [Experimental] The type() method of the `web.css.CSSNumericValue` interface the 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