(derive-init-state
{:as navtree-params
:keys [tree id-fn children-fn tree-data? selection-node on-selection-node
selection-path on-selection-path selection-path-ratom
selection-path-init keynav? ui-mode auto-nav whitelist? header-fn
header-ratom content-ratom content-loading-fn content-placeholder]})
(init-ctrl-key-bindings! navtree-token k-fn-pairs)
(init-nav-key-bindings! sp-ratom
z-nav-args
on-selection-path
navtree-token
k-navfn-pairs)
(loader hiccup tree-data? request-tree-data data-list)
(nav-to! sp-ratom z-nav-args on-selection-path z-fn)
(navtree & {:as params})
(navtree* params)
(navtree-init {:as params
:keys [tree id-fn class selection-node selection-path keynav?
shortcuts-panel? whitelist whitelist? header-fn
header-ratom content content-fn content-ratom icon-left
icon-right icon-expand icon-collapse]
:or {icon-left octicons/chevron-left
icon-right octicons/chevron-right
icon-expand octicons/unfold
icon-collapse octicons/fold}})
(navtree-node* {:as params
:keys [selection-path on-selection-path whitelist id-fn label-fn
children-fn content-fn loading-fn children-req-ratom
content-ratom content-id-ratom tree-data?
request-tree-data auto-nav-fn-ratom]}
id-path
tree)
(shortcuts-panel key-fn-pairs)
(undo-key-bindings! navtree-token kk)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close