[Control] button
Part of: mobl::ui::generic
Arguments:
text : String
the text to display on the buttonstyle : Style = buttonStyle
(optional) the style to use when the button is not pushedpushedStyle : Style = buttonPushedStyle
(optional) the style to use when the button is pushedonclick : Callback = {}
(optional) the event to be triggered when the button is tapped
Renders a button on the screen.
Example:
button("Click me", onclick={
alert("You clicked me!");
})
mobl/ui/generic/button.txt · Last modified: 2013/10/01 02:29 (external edit)