Liking cljdoc? Tell your friends :D

domo.macros


add-class!clj/smacro

(add-class! el & xs)
source

array-fromclj/smacro

(array-from iterable)
source

attribute-false?clj/smacro

(attribute-false? el attr)
source

attribute-true?clj/smacro

(attribute-true? el attr)
source

class-listclj/smacro

(class-list el)

Returns the element's classList, which is a DOMTokenList

Returns the element's classList, which is a DOMTokenList
sourceraw docstring

class-stringclj/smacro

(class-string el)

Returns the element's class value as a string

Returns the element's class value as a string
sourceraw docstring

click!clj/smacro

(click! el)
source

current-event-targetclj/smacro

(current-event-target e)
source

current-event-target-valueclj/smacro

(current-event-target-value e)
source

data-attrclj/smacro

(data-attr el nm)
source

data-selector=clj/smacro

(data-selector= attr v)

(data-selector= :foo :bar) => "[data-foo="bar"]"

(data-selector= :foo :bar) => "[data-foo=\"bar\"]"
sourceraw docstring

el-by-idclj/smacro

(el-by-id id)
source

element-node?clj/smacro

(element-node? el)

If supplied value is a dom element such as <div>, <span>, etc., returns true, else returns false.

If supplied value is a dom element such as <div>, <span>, etc., returns true,
else returns false.
sourceraw docstring

event-targetclj/smacro

(event-target e)
source

event-target-valueclj/smacro

(event-target-value e)
source

event-target-value->floatclj/smacro

(event-target-value->float e)
source

event-target-value->intclj/smacro

(event-target-value->int e)
source

focus!clj/smacro

(focus! el)
source

get-first-onscreen-child-from-topclj/smacro

(get-first-onscreen-child-from-top el)
source

grandparentclj/smacro

(grandparent el)
source

has-attribute?clj/smacro

(has-attribute? el attr)
source

has-class?clj/smacro

(has-class? el classname)
source

nearest-ancestorclj/smacro

(nearest-ancestor el sel)
source

next-siblingclj/smacro

(next-sibling el)
source

node-nameclj/smacro

(node-name el)
source

node-name-match?clj/smacro

(node-name-match? el s)
source

parentclj/smacro

(parent el)
source

previous-siblingclj/smacro

(previous-sibling el)
source

qsclj/smacro

(qs s)
(qs el s)
source

qs-data=clj/smacro

(qs-data= attr v)
(qs-data= el attr v)
source

qsaclj/smacro

(qsa s)
(qsa el s)
source

remove-attribute!clj/smacro

(remove-attribute! el attr)
source

remove-class!clj/smacro

(remove-class! el & xs)
source

set-attribute!clj/smacro

(set-attribute! el attr v)
source

toggle-boolean-attribute!clj/smacro

(toggle-boolean-attribute! el attr)
source

toggle-class!clj/smacro

(toggle-class! el & xs)
source

value-selector=clj/smacro

(value-selector= v)

(value-selector= :baz) => "[value="baz"]"

(value-selector= :baz) => "[value=\"baz\"]"
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close