[Control] span
Part of: mobl
Arguments:
style : Style
the style to style this span withonclick : Callback = null
(optional) event to be triggered when the user taps this elementonswipe : Callback = null
(optional) callback to be called when the span is swiped.
A styled inline-block (similar to <span>
in HTML). Useful for styling a snippet of text (e.g. a few words).
Example:
style bigAndBlueStyle {
font-size: 40px;
color: blue;
}
screen root() {
span(bigAndBlue) {
"I am big and blue"
}
}
mobl/span.txt · Last modified: 2013/10/01 02:28 (external edit)