Liking cljdoc? Tell your friends :D

js.core.dom


appendChildclj

(appendChild elem? & [child])

appends a child to the dom

appends a child to the dom
raw docstring

bodyclj

(body)

gets the document body

(str (dom/body)) => #"<HTMLBodyElement>"

gets the document body

(str (dom/body))
=> #"<HTMLBodyElement>"
raw docstring

classListclj

(classList elem)

returns the class list

returns the class list
raw docstring

classNameclj

(className elem)

returns the class name

returns the class name
raw docstring

clickclj

(click elem)

clicks on an element

clicks on an element
raw docstring

createclj

(create tree)

creates an element from tree form

creates an element from tree form
raw docstring

createElementclj


getAttributeclj

(getAttribute elem key)

gets the attribute of an element

gets the attribute of an element
raw docstring

idclj

(id elem? & [id])

gets element given id

gets element given id
raw docstring

innerclj

(inner elem)

gets the inner httml of an element

gets the inner httml of an element
raw docstring

outerclj

(outer elem)

gets the outer html of an element

gets the outer html of an element
raw docstring

qclj

(q elem? & [sel])

gets elements given query

gets elements given query
raw docstring

removeclj

(remove elem)

removes node from the dom

removes node from the dom
raw docstring

removeChildclj

(removeChild elem child)

removes a child from the dom

removes a child from the dom
raw docstring

selclj

(sel elem? & [sel])

selects an element based on id

selects an element based on id
raw docstring

setAttributeclj

(setAttribute elem key val)

sets attribute of an element

sets attribute of an element
raw docstring

textclj

(text elem? & [id])

gets the text of a given root

gets the text of a given root
raw docstring

valclj

(val elem? & [id])

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close