[Control] block

Part of: mobl::ui::generic


  • style : Style the style to style this block with
  • onclick : Callback = null (optional) event to be triggered when the user taps this element

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


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