/
HTMLEmbedElement.cljs
102 lines (77 loc) · 2.31 KB
/
HTMLEmbedElement.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
(ns web.dom.HTMLEmbedElement
"The HTMLEmbedElement interface provides special properties (beyond
regular `web.dom.HTMLElement` interface it also has available
it by inheritance) for manipulating `<embed>` elements."
(:refer-clojure :exclude [name type]))
(defn align
"Property.
Is a DOMString representing an enumerated property indicating
of the element's contents with respect to the surrounding context.
possible values are \"left\", \"right\", \"center\", and \"justify\"."
[this]
(-> this (.-align)))
(defn set-align!
"Property.
Is a DOMString representing an enumerated property indicating
of the element's contents with respect to the surrounding context.
possible values are \"left\", \"right\", \"center\", and \"justify\"."
[this val]
(aset this "align" val))
(defn height
"Property.
Is a DOMString reflecting the height HTML attribute, containing
displayed height of the resource."
[this]
(-> this (.-height)))
(defn set-height!
"Property.
Is a DOMString reflecting the height HTML attribute, containing
displayed height of the resource."
[this val]
(aset this "height" val))
(defn name
"Property.
Is a DOMString representing the name of the embedded object."
[this]
(-> this (.-name)))
(defn set-name!
"Property.
Is a DOMString representing the name of the embedded object."
[this val]
(aset this "name" val))
(defn src
"Property.
Is a DOMString that reflects the src HTML attribute, containing
address of the resource."
[this]
(-> this (.-src)))
(defn set-src!
"Property.
Is a DOMString that reflects the src HTML attribute, containing
address of the resource."
[this val]
(aset this "src" val))
(defn type
"Property.
Is a DOMString that reflects the type HTML attribute, containing
type of the resource."
[this]
(-> this (.-type)))
(defn set-type!
"Property.
Is a DOMString that reflects the type HTML attribute, containing
type of the resource."
[this val]
(aset this "type" val))
(defn width
"Property.
Is a DOMString that reflects the width HTML attribute, containing
displayed width of the resource."
[this]
(-> this (.-width)))
(defn set-width!
"Property.
Is a DOMString that reflects the width HTML attribute, containing
displayed width of the resource."
[this val]
(aset this "width" val))