UNPKG

@titanium/turbo

Version:

Turbo is a variation of Titanium Alloy that adds some enhancements and customizations for rapid development.

15 lines (13 loc) 391 B
<Alloy> <Window> <!-- Localization via XML attribute --> <Label class="header">via XML attribute:</Label> <Label text="L('hello_world')"/> <!-- Localization via TSS --> <Label class="header">via TSS:</Label> <Label id="viaTss"/> <!-- Localization via JS code in controller --> <Label class="header">via controller:</Label> <Label id="viaController"/> </Window> </Alloy>