Renderer library for Respo Composer
[respo/composer "0.1.0-a1"]
(respo-composer.core/render-markup markup
{:data {}
:level 1
:templates {"container" nil}})
| Node type | props |
|---|---|
box | - |
space | width, height |
text | value |
some | value |
button | action, text |
link | action, text, href |
icon | action, name |
template | name, data |
list | value |
input | action, value, textarea |
slot | dom |
inspect | title |
popup | visible |
case | value(?) |
For string values,
@ will be read as values:x would be read as a keyword :x|x would be read as a string "x"for example,
a, means "a"@:a, means (get-in data [:a])@|a, means (get-in data ["a"])@:a :b |c, means (get-in data [:a :b "c"])data inside list children
indexitem, list itemouter, data of outer contextWorkflow https://github.com/mvc-works/calcit-workflow
MIT
Can you improve this documentation?Edit 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 |