UNPKG

@titanium/turbo

Version:

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

7 lines (6 loc) 217 B
function closeWindow(e) { Alloy.Globals.ctr--; Alloy.Globals.navwindow.closeWindow($.win); } $.win.title = 'Window #' + Alloy.Globals.ctr; $.windowNumber.text = "I'm window #" + Alloy.Globals.ctr + ' on the stack';