(appendChild elem? & [child])
appends a child to the dom
appends a child to the dom
(body)
gets the document body
(str (dom/body)) => #"<HTMLBodyElement>"
gets the document body (str (dom/body)) => #"<HTMLBodyElement>"
(create tree)
creates an element from tree form
creates an element from tree form
(getAttribute elem key)
gets the attribute of an element
gets the attribute of an element
(inner elem)
gets the inner httml of an element
gets the inner httml of an element
(outer elem)
gets the outer html of an element
gets the outer html of an element
(removeChild elem child)
removes a child from the dom
removes a child from the dom
(sel elem? & [sel])
selects an element based on id
selects an element based on id
(setAttribute elem key val)
sets attribute of an element
sets attribute of an element
(val elem? & [id])
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close