Liking cljdoc? Tell your friends :D

shadow.object


add-reaction!cljs

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

alive?cljs

(alive? obj)
source

behavior-fnscljs

source

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)
sourceraw docstring

bind-changecljs

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

bind-childrencljs

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

bind-dom-eventscljs

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

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
sourceraw docstring

coll-destroy-childrencljs

(coll-destroy-children children c diff)
source

console-friendlycljs

source

createcljs

(create type args & node-children)
source

debugcljs

source

definecljs

(define id & args)
source

define-eventcljs

(define-event event-name desc args)
source

destroy!cljs

(destroy! oref)
(destroy! oref cause)
source

dom-destroycljs

(dom-destroy this cause)
source

dom-entercljs

(dom-enter parent child)
source

dump!cljs

(dump!)
source

equal?cljs

(equal? obj obj-or-dom)
source

errorcljs

source

eventscljs

source

find-containing-objectcljs

(find-containing-object dom)

find the object that contains this dom node

find the object that contains this dom node
sourceraw docstring

get-by-idcljs

(get-by-id id)
source

get-childrencljs

(get-children parent)
source

get-children-of-typecljs

(get-children-of-type oref type)
source

get-collection-itemcljs

(get-collection-item oref)
source

get-domcljs

(get-dom oref)
source

get-from-domcljs

(get-from-dom dom)
source

get-parentcljs

(get-parent oref)
source

get-parent-of-typecljs

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

get-siblingscljs

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

basically (get-children (:parent this))

basically (get-children (:parent this))
sourceraw 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
sourceraw docstring

get-typecljs

(get-type this)
source

get-type-attrcljs

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

infocljs

source

inspect!cljs

(inspect! oref)
source

instance-childrencljs

source

instance-parentcljs

source

instancescljs

source

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
source

is-object?cljs

(is-object? obj-or-dom)
source

logcljs

source

make-domcljs

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

next-idcljs

(next-id)
source

notify!cljs

(notify! oref ev & args)
source

notify-down!cljs

source

notify-tree!cljs

(notify-tree! oref ev & args)
source

notify-up!cljs

(notify-up! oref ev & args)
source

obj-idcljs

source

object-defscljs

source

ObjectRefcljs

source

remove-in-parent!cljs

(remove-in-parent! oref)
source

return-valuecljs

(return-value oref return-value)
source

tree-seqcljs

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

unmungecljs

(unmunge s)
source

update!cljs

(update! oref update-fn & args)
source

warncljs

source

Watchcljs

source

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

× close