UNPKG

alloy

Version:

TiDev Titanium MVC Framework

30 lines (25 loc) 846 B
<Alloy> <Window> <TabbedBar platform="ios" onClick="sayHi"> <!-- These get added to the TabbedBar "labels" array --> <Labels> <!-- Specify text with node text or "title" attribute. --> <Label id="label1"/> <Label title="tab 2"/> <Label>tab 3</Label> <!-- uses images and/or widths --> <Label width="40" image="/KS_nav_ui.png"/> <!-- set as disabled --> <Label enabled="false">disabled</Label> <!-- empty labels will print a warning (no properties) --> <!-- <Label/> --> </Labels> <!-- additional views get added as normal, over the labels, as per the documentation of the add() function. --> <!-- <View opacity="0.25" backgroundColor="#a00" width="50%"/> --> </TabbedBar> <Label platform="!ios">Ti.UI.iOS.TabbedBar only supported on iOS</Label> </Window> </Alloy>