Liking cljdoc? Tell your friends :D

shadow.object


add-reaction!cljs

(add-reaction! oref list)
(add-reaction! oref ev handler-fn)

alive?cljs

(alive? obj)

behavior-fnscljs


bindcljs

(bind oref attr item-type item-key item-attrs)

bind the given attribute a child item the item will be recreated whenever the value changes (old one will be destroyed)

bind the given attribute a child item
the item will be recreated whenever the value changes (old one will be destroyed)
raw docstring

bind-changecljs

(bind-change oref attr callback)
(bind-change oref attr callback watch-key)

bind-childrencljs

(bind-children node parent attr item-type item-key)
(bind-children node parent attr item-type item-key coll-transform)

bind-dom-eventscljs

(bind-dom-events oref dom dom-events)

bind-simplecljs

(bind-simple oref attr)
(bind-simple oref attr node-gen)

[oref attr node-gen] produces a node via (node-gen new-value) watches obj for changes and replaces the generated node on change (node-gen defaults to str)

only use if the node has no attached behavior like clicks, use bind with an extra object for those

[oref attr node-gen] produces a node via (node-gen new-value)
 watches obj for changes and replaces the generated node on change (node-gen defaults to str)

only use if the node has no attached behavior like clicks, use bind with an extra object for those
raw docstring

coll-destroy-childrencljs

(coll-destroy-children children c diff)

console-friendlycljs


createcljs

(create type args & node-children)

debugcljs


definecljs

(define id & args)

define-eventcljs

(define-event event-name desc args)

destroy!cljs

(destroy! oref)
(destroy! oref cause)

dom-destroycljs

(dom-destroy this cause)

dom-entercljs

(dom-enter parent child)

dump!cljs

(dump!)

equal?cljs

(equal? obj obj-or-dom)

errorcljs


eventscljs


find-containing-objectcljs

(find-containing-object dom)

find the object that contains this dom node

find the object that contains this dom node
raw docstring

get-by-idcljs

(get-by-id id)

get-childrencljs

(get-children parent)

get-children-of-typecljs

(get-children-of-type oref type)

get-collection-itemcljs

(get-collection-item oref)

get-domcljs

(get-dom oref)

get-from-domcljs

(get-from-dom dom)

get-parentcljs

(get-parent oref)

get-parent-of-typecljs

(get-parent-of-type oref parent-type)

get-siblingscljs

(get-siblings {:keys [parent] :as oref})

basically (get-children (:parent this))

basically (get-children (:parent this))
raw docstring

get-siblings-of-typecljs

(get-siblings-of-type oref)
(get-siblings-of-type oref type)

returns set of all siblings of a common type

returns set of all siblings of a common type
raw docstring

get-typecljs

(get-type this)

get-type-attrcljs

(get-type-attr oref key)
(get-type-attr oref key default)

infocljs


inspect!cljs

(inspect! oref)

instance-childrencljs


instance-parentcljs


instancescljs


IObjectcljsprotocol

-datacljs

(-data this)

-destroy!cljs

(-destroy! this cause)

-idcljs

(-id this)

-typecljs

(-type this)

-updatecljs

(-update this update-fn)

update and notify watches

update and notify watches

is-object?cljs

(is-object? obj-or-dom)

logcljs


make-domcljs

(make-dom oref dom-key events-key)
(make-dom oref dom-key events-key value)

next-idcljs

(next-id)

notify!cljs

(notify! oref ev & args)

notify-down!cljs


notify-tree!cljs

(notify-tree! oref ev & args)

notify-up!cljs

(notify-up! oref ev & args)

obj-idcljs


object-defscljs


remove-in-parent!cljs

(remove-in-parent! oref)

return-valuecljs

(return-value oref return-value)

tree-seqcljs

(tree-seq root)
(tree-seq root branch?)

unmungecljs

(unmunge s)

update!cljs

(update! oref update-fn & args)

warncljs

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

× close