This commit is contained in:
Max Lynch
2013-09-13 14:53:55 -05:00
parent a261e2553a
commit 0634e07b01
9 changed files with 303 additions and 203 deletions

View File

@ -1,6 +1,8 @@
TabBarController = function(options) {
this.tabBar = options.tabBar;
this._bindEvents();
this.controllers = [];
// Bind or set our tabWillChange callback
@ -9,6 +11,12 @@ TabBarController = function(options) {
};
TabBarController.prototype = {
// Start listening for events on our tab bar
_bindEvents: function() {
this.tabBar.onTabSelected = function(e) {
};
},
selectController: function(index) {
var shouldChange = true;