blob: 6b3ad16c3d202e730b5c8d43de06e5c5df5bdb14 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
 | (function() {
	fs.ui.createWebViewWin = function(_args) {
		var options = _args || {}
		
		var win = Ti.UI.createWindow({
			title: (options['title']) ? options['title'] : '',
			backButtonTitle: 'Back'
		});
		
		var webview = Ti.UI.createWebView({
			url: options['url']
		});
		
		win.add(webview);
		
		return win;
	};
})();
 |