[Control] item
Part of: mobl::ui::generic
Arguments:
style : Style = itemStyle
(optional) the style to use to style this control.pushedStyle : Style = itemPushedStyle
(optional) the style to use when the item has been tapped (is active)onclick : Callback = null
(optional) callback to be called when item is tapped.onswipe : Callback = null
(optional) callback to be called when the item is swiped.hideArrow : Bool = false
(optional) whether or not to show an arrow with the item (which appears when the item has anonclick
callback defined).
Renders an item inside of a group.
Example:
group {
item { "An item" }
item(onclick={ alert("Click!"); }) { "Click me" }
}
mobl/ui/generic/item.txt · Last modified: 2013/10/01 02:29 (external edit)