Liking cljdoc? Tell your friends :D

reagent-dev-tools.core


default-panelscljs


dev-statecljs


dev-toolcljs

(dev-tool {:keys [panels] :or {panels default-panels}})

element-idcljs


register-state-atomcljs

(register-state-atom atom-name state-atom)

Add Reagent atom to the state panel with given name

Add Reagent atom to the state panel with given name
raw docstring

start!cljs

(start! opts)

Start Reagent dev tool.

Options:

:el (optional) The element to render the dev-tool into. If the property is given, but is nil, dev tool is not enabled. If not given, new div is created and used.

:state-atom (optional) The Reagent atom to add to state-tree panel. Additional atoms can be registered with register-state-atom function.

:state-atom-name (optional) Name for state atom, defaults to "App state".

:panels-fn (optional) Function which returns map of additional panels to display.

:margin-element (optional) Element where to set margin-bottom/right if the panel is open.

Start Reagent dev tool.

Options:

:el (optional) The element to render the dev-tool into. If the property is given,
but is nil, dev tool is not enabled. If not given, new div is created and
used.

:state-atom (optional) The Reagent atom to add to state-tree panel. Additional atoms
can be registered with register-state-atom function.

:state-atom-name (optional) Name for state atom, defaults to "App state".

:panels-fn (optional) Function which returns map of additional panels to display.

:margin-element (optional) Element where to set margin-bottom/right if the panel is open.
raw docstring

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

× close