This are the core concepts in picasso:
(defprotocol Renderable
(render [self]))
(defmulti paint :type)
Clojure/Clojurescript Data => (render) => Picasso DataStructure => (paint) => Notebook
(defn timeseries-plot
"timeseries-plot creates vega spec for a timeseries plot"
[data]
^{:render-with :p/vega} vega-spec)
[:div [:h1 "demo"]
(timeseries-plot data)]
[:div [:h1 "demo"]
[:p/vega (timeseries-plot data)]]
lein webly watch
Clojure:
lein test
Clojurescript:
lein webly npm-install
lein test-js
:default picasso:hiccup picasso:list-alike picasso (compatibility):html notebook-ui (needs gorilla-ui):text notebook-ui (needs gorilla-ui):pinkie notebook-ui (needs pinkie):reagent notebook-ui (needs pinkie):goldly not yet implemented. will be in goldlyThis code is licensed to you under the MIT licence. See LICENCE.txt for details.
Can you improve this documentation? These fine people already did:
awb99, Andreas Steffan & JonyEpsilonEdit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |