Liking cljdoc? Tell your friends :D

replicant.dom


renderclj/s

(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`.
source (clj)source (cljs)raw docstring

set-dispatch!clj/s

(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.
source (clj)source (cljs)raw docstring

unmountclj/s

(unmount el)

Unmounts elements in el, and clears internal state.

Unmounts elements in `el`, and clears internal state.
source (clj)source (cljs)raw docstring

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

× close