(focus-reducer state action)
state :: {:focus #helix/ref [DOMElement] :nodes [{:level 0 :ref #helix/ref [DOMElement]}]} action :: {:type :add | :remove | ,,, :value #helix/ref [DOMElement]}
state :: {:focus #helix/ref [DOMElement] :nodes [{:level 0 :ref #helix/ref [DOMElement]}]} action :: {:type :add | :remove | ,,, :value #helix/ref [DOMElement]}
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close