(render _el _hiccup & [_opt])
(render el hiccup & [{:keys [aliases alias-data]}])
Render hiccup
in DOM element el
. Replaces any pre-existing content not
created by this function. Subsequent calls with the same el
will update the
rendered DOM by comparing hiccup
to the previous hiccup
.
Render `hiccup` in DOM element `el`. Replaces any pre-existing content not created by this function. Subsequent calls with the same `el` will update the rendered DOM by comparing `hiccup` to the previous `hiccup`.
(set-dispatch! f)
Register a global dispatch function for event handlers and life-cycle hooks that are not functions. See data-driven event handlers and life-cycle hooks in the user guide for details.
Register a global dispatch function for event handlers and life-cycle hooks that are not functions. See data-driven event handlers and life-cycle hooks in the user guide for details.
(unmount el)
Unmounts elements in el
, and clears internal state.
Unmounts elements in `el`, and clears internal state.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close