[Control] backButton

Part of: mobl::ui::generic

Arguments:

  • text : String = _("Back") (optional) the text to display on the button
  • style : Style = buttonStyle (optional) the style to use when the button is not pushed
  • pushedStyle : Style = buttonPushedStyle (optional) the style to use when the button is pushed
  • onclick : Callback = { screen return; } (optional) the event to be triggered when the button is tapped

Renders a back button in the context of a header.

Example:

header("Add Task") {
  backButton("Cancel")
}
mobl/ui/generic/backbutton.txt · Last modified: 2013/10/01 02:29 (external edit)