-
Notifications
You must be signed in to change notification settings - Fork 0
/
HTMLUListElement.cljs
44 lines (35 loc) · 1.25 KB
/
HTMLUListElement.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
(ns web.dom.HTMLUListElement
"The HTMLUListElement interface provides special properties (beyond
defined on the regular `web.dom.HTMLElement` interface it also
available to it by inheritance) for manipulating unordered list"
(:refer-clojure :exclude [type]))
(defn type
"Property.
Is a DOMString value reflecting the type and defining the kind
marker to be used to display. The values are browser dependent
have never been standardized."
[this]
(-> this (.-type)))
(defn set-type!
"Property.
Is a DOMString value reflecting the type and defining the kind
marker to be used to display. The values are browser dependent
have never been standardized."
[this val]
(aset this "type" val))
(defn compact
"Property.
Is a Boolean indicating that spacing between list items should
reduced. This property reflects the compact attribute only, it
consider the line-height CSS property used for that behavior
modern pages."
[this]
(-> this (.-compact)))
(defn set-compact!
"Property.
Is a Boolean indicating that spacing between list items should
reduced. This property reflects the compact attribute only, it
consider the line-height CSS property used for that behavior
modern pages."
[this val]
(aset this "compact" val))