[Control] block
Part of: mobl
Arguments:
style : Style
the style to style this block withonclick : Callback = null
(optional) event to be triggered when the user taps this elementonswipe : Callback = null
(optional) callback to be called when the block is swiped.
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/block.txt · Last modified: 2013/10/01 02:28 (external edit)