-
-
Save scottsampson/6548c7fa9543d81f2b90 to your computer and use it in GitHub Desktop.
appcelerator window open onclick
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tableview.addEventListener('click', function(e) { | |
var w = Ti.UI.createWindow(); | |
w.game_id = e.rowData.game_id; | |
w.title = 'Game'; | |
w.url = 'game.js'; | |
w.previouswin = Titanium.UI.currentWindow; | |
Titanium.UI.currentWindow.tab.open(w); | |
w = null; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment