(defcard sym & settings)
Defines a new card, sym is a symbol for the card name (like def), and settings are maps that will be merged on definition time to define the card.
Defines a new card, sym is a symbol for the card name (like def), and settings are maps that will be merged on definition time to define the card.
(deftest sym & forms)
Creates a test card, you can replace your cljs.test/deftest call by this, will work the same, but also define a card (the original cljs.test/deftest will also be called).
Creates a test card, you can replace your cljs.test/deftest call by this, will work the same, but also define a card (the original cljs.test/deftest will also be called).
(defworkspace sym layouts)
Creates a new static workspace, layouts is a transit string, get that string by exporting some of your local workspaces.
Creates a new static workspace, layouts is a transit string, get that string by exporting some of your local workspaces.
(init-test _ _ _)
Stub method, does nothing in CLJ
Stub method, does nothing in CLJ
(init-test sym forms card-form)
(init-workspace workspace-id
{:nubank.workspaces.model/keys [workspace-layouts]
:as workspace})
(mount)
(mount selector)
Mount the workspaces enviroment, by default it will try to mount at #app node. Use the selector string to pass a querySelector string to pick the mount node.
Mount the workspaces enviroment, by default it will try to mount at #app node. Use the selector string to pass a querySelector string to pick the mount node.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close