Liking cljdoc? Tell your friends :D

uix.dom.alpha

Public API

Public API
raw docstring

create-portalclj/s

(create-portal child node)

Renders Hiccup element into DOM node

Renders Hiccup element into DOM node
raw docstring

create-rootclj/s

(create-root node)

find-dom-nodeclj/s

(find-dom-node component)

Returns top-level DOM node associated with component

Returns top-level DOM node associated with component
raw docstring

flush-controlledcljmacro

(flush-controlled & body)

flush-controlled!clj/s

(flush-controlled! cb)

flush-synccljmacro

(flush-sync & body)

flush-sync!clj/s

(flush-sync! cb)

hydrateclj/s

(hydrate element node)

Hydrates server rendered document at node with element.

Hydrates server rendered document at `node` with `element`.
raw docstring

renderclj/s

(render element node)

Renders element into DOM node. The first argument is Hiccup or React element.

Renders element into DOM node. The first argument is Hiccup or React element.
raw docstring

render-rootclj/s

(render-root element root)

render-to-static-markupclj/s

(render-to-static-markup element)

render-to-static-streamclj/s≠

clj

Like render-to-static-markup, but pushes HTML in chunks as they are being rendered

(render-to-static-stream [element] {:on-chunk f})

Like render-to-static-markup, but pushes HTML in chunks as they are being rendered

(render-to-static-stream [element] {:on-chunk f})
cljs
(render-to-static-stream element)
raw docstring

render-to-streamclj/s≠

clj

Like render-to-string, but pushes HTML in chunks as they are being rendered

(render-to-stream [element] {:on-chunk f})

Like render-to-string, but pushes HTML in chunks as they are being rendered

(render-to-stream [element] {:on-chunk f})
cljs
(render-to-stream element)
raw docstring

render-to-stringclj/s

(render-to-string element)

unmount-at-nodeclj/s

(unmount-at-node node)

Unmounts React component rendered into DOM node

Unmounts React component rendered into DOM node
raw docstring

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

× close