[Control] block
Part of: mobl::ui::generic
Arguments:
style : Style
the style to style this block withonclick : Callback = null
(optional) event to be triggered when the user taps this element
A styled block (a <div>
in HTML).
Example:
style bigAndBlueStyle {
font-size: 40px;
color: blue;
}
screen root() {
block(bigAndBlue) {
"I am big and blue"
}
}
mobl/ui/generic/block.txt · Last modified: 2020/02/08 14:40 by Zef Hemel