Liking cljdoc? Tell your friends :D

shadow.dom


add-classcljs

(add-class el cls)

add-event-listenerscljs

(add-event-listeners el events)

ancestor-by-classcljs

(ancestor-by-class el cls)

ancestor-by-tagcljs

(ancestor-by-tag el tag)
(ancestor-by-tag el tag cls)

appendcljs

(append node)
(append el node)

attrcljs

(attr el key)
(attr el key default)

buildcljs


build-urlcljs

(build-url path query-params)

by-idcljs

(by-id id)
(by-id id el)

checkcljs

(check el)
(check el checked)

checked?cljs

(checked? el)

child-nodescljs

(child-nodes el)

childrencljs

(children el)

contains?cljs

(contains? el)
(contains? parent el)

check wether a parent node (or the document) contains the child

check wether a parent node (or the document) contains the child
raw docstring

create-dom-nodecljs

(create-dom-node tag-def {:keys [class] :as props})

create-svg-nodecljs

(create-svg-node tag-def props)

datacljs

(data el key)

del-attrcljs

(del-attr el key)

destructure-nodecljs

(destructure-node create-fn [nn np & nc :as node])

dom-listencljs


dom-listen-removecljs


dom-nodecljs

(dom-node el)

ev-stopcljs

(ev-stop e)
(ev-stop e el)
(ev-stop e el scope owner)

eval-scriptscljs

(eval-scripts s)

given a html string, eval all <script> tags and return the html without the scripts don't do this for everything, only content you trust.

given a html string, eval all <script> tags and return the html without the scripts
don't do this for everything, only content you trust.
raw docstring

first-childcljs

(first-child el)

form-elementscljs

(form-elements el)

fragmentcljs

(fragment & nodes)

get-client-positioncljs

(get-client-position el)

get-heightcljs

(get-height el)

get-htmlcljs

(get-html node)

get-next-siblingcljs

(get-next-sibling el)

get-page-offsetcljs

(get-page-offset el)

get-parentcljs

(get-parent el)

get-positioncljs

(get-position el)

get-previous-siblingcljs

(get-previous-sibling el)

get-sizecljs

(get-size el)

get-valuecljs

(get-value dom)

get-viewport-sizecljs

(get-viewport-size)

has-class?cljs

(has-class? el cls)

IElementcljsprotocol

-to-domcljs

(-to-dom this)

index-ofcljs

(index-of el)

insert-aftercljs

(insert-after ref new)

insert-beforecljs

(insert-before ref new)

insert-firstcljs

(insert-first ref new)

make-dom-nodecljs

(make-dom-node structure)

make-svg-nodecljs

(make-svg-node structure)

matchescljs

(matches el sel)

native-collcljs

(native-coll coll)

node-namecljs

(node-name el)

oncljs

(on el ev handler)
(on el ev handler capture)

on-querycljs

(on-query root-el ev selector handler)

parentscljs

(parents el)

parse-tagcljs

(parse-tag spec)

pctcljs

(pct value)

pxcljs

(px value)

querycljs

(query sel)
(query sel root)

query-onecljs

(query-one sel)
(query-one sel root)

redirectcljs

(redirect path)
(redirect path query-params)

reload!cljs

(reload!)

removecljs

(remove node)

remove-classcljs

(remove-class el cls)

remove-event-handlercljs

(remove-event-handler el ev handler)

remove-stylecljs

(remove-style el style)

remove-style*cljs

(remove-style* el style)

remove-stylescljs

(remove-styles el style-keys)

replace-nodecljs

(replace-node old new)

resetcljs

(reset node)

clear node children

clear node children
raw docstring

select-option-valuescljs

(select-option-values el)

set-attrcljs

(set-attr el key value)

set-attr*cljs

(set-attr* el key value)

set-attrscljs

(set-attrs el attrs)

set-datacljs

(set-data el key value)

set-htmlcljs

(set-html node text)

set-stylecljs

(set-style el styles)

set-valuecljs

(set-value dom value)

size->cljcljs

(size->clj size)

str->fragmentcljs

(str->fragment s)

svgcljs

(svg attrs & children)

svg-nodecljs

(svg-node el)

SVGElementcljsprotocol

-to-svgcljs

(-to-svg this)

tag-namecljs

(tag-name el)

textcljs

(text el)
(text el new-text)

toggle-classcljs

(toggle-class el cls)
(toggle-class el cls v)

transition-supported?cljs


xmlnscljs

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

× close