-
Notifications
You must be signed in to change notification settings - Fork 0
/
CSSMathValue.cljs
33 lines (24 loc) · 1.05 KB
/
CSSMathValue.cljs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
(ns web.css.CSSMathValue
"The CSSMathValue interface of the CSS Typed Object Model API
base class for classes representing complex numeric values."
(:refer-clojure :exclude []))
(defn operator
"Property.
The CSSMathValue.operator read-only property of the `web.css.CSSMathValue`
indicates the operator that the current subtype represents. For
if the current CSSMathValue subtype is CSSMathSum, this property
return the string \\\"sum\\\".
`var aString = CSSMathValue.operator;`
See also: `https://developer.mozilla.org/en-US/docs/Web/API/CSSMathValue/operator`"
[this]
(-> this (.-operator)))
(defn set-operator!
"Property.
The CSSMathValue.operator read-only property of the `web.css.CSSMathValue`
indicates the operator that the current subtype represents. For
if the current CSSMathValue subtype is CSSMathSum, this property
return the string \\\"sum\\\".
`var aString = CSSMathValue.operator;`
See also: `https://developer.mozilla.org/en-US/docs/Web/API/CSSMathValue/operator`"
[this val]
(aset this "operator" val))