generated from calcit-lang/calcit-workflow
-
Notifications
You must be signed in to change notification settings - Fork 0
div
jiyinyiyong edited this page Sep 1, 2021
·
1 revision
Here's how you use div
macro to create a tree of <div>
s:
div
{}
:class-name "|example"
:style $ {}
:on $ {}
div $ {}
div $ {}
Its first argument is a HashMap consists of :style
:on
and other properties. For property like el.className
, you write in :class-name
.
Find more in DOM elements.