-
Notifications
You must be signed in to change notification settings - Fork 0
/
HTMLTableHeaderCellElement.cljs
61 lines (48 loc) · 1.87 KB
/
HTMLTableHeaderCellElement.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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
(ns web.dom.HTMLTableHeaderCellElement
"The HTMLTableHeaderCellElement interface provides special properties
methods (beyond the regular `web.dom.HTMLTableCellElement` and
interfaces it also has available to it by inheritance) for manipulating
layout and presentation of table header cells in an HTML document."
(:refer-clojure :exclude []))
(defn abbr
"Property.
Is a DOMString containing a name used to refer to this cell in
context. It reflects the abbr attribute."
[this]
(-> this (.-abbr)))
(defn set-abbr!
"Property.
Is a DOMString containing a name used to refer to this cell in
context. It reflects the abbr attribute."
[this val]
(aset this "abbr" val))
(defn scope
"Property.
Is a DOMString representing an enumerated value indicating which
the header cell applies to. It reflects the scope attribute and
one of the following values: \"row\", \"col\", \"colgroup\", or \"rowgroup\".
the attribute is in the auto state, or if an invalid value is
for the attribute, scope will be returns the empty string, \"\"."
[this]
(-> this (.-scope)))
(defn set-scope!
"Property.
Is a DOMString representing an enumerated value indicating which
the header cell applies to. It reflects the scope attribute and
one of the following values: \"row\", \"col\", \"colgroup\", or \"rowgroup\".
the attribute is in the auto state, or if an invalid value is
for the attribute, scope will be returns the empty string, \"\"."
[this val]
(aset this "scope" val))
(defn sorted
"Property.
Is a Boolean value indicating if the table is sorted by the scope
with this header cell. It reflects the sorted attribute."
[this]
(-> this (.-sorted)))
(defn set-sorted!
"Property.
Is a Boolean value indicating if the table is sorted by the scope
with this header cell. It reflects the sorted attribute."
[this val]
(aset this "sorted" val))