[Control] block

Part of: mobl


  • style : Style the style to style this block with
  • onclick : Callback = null (optional) event to be triggered when the user taps this element
  • onswipe : Callback = null (optional) callback to be called when the block is swiped.

A styled block (a <div> in HTML).


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)