(render root-fn dom-root)
(render root-fn dom-root opts)
Renders the threeagent scene at the specified dom-root
using
the root-fn
as the root component function.
Additional configuration can be provided through the opts
parameter
Example:
(threeagent/render my-root-fn (js/document.getElementById "app"))
Renders the threeagent scene at the specified `dom-root` using the `root-fn` as the root component function. Additional configuration can be provided through the `opts` parameter Example: ```clojure (threeagent/render my-root-fn (js/document.getElementById "app")) ```
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close