mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 06:57:02 +08:00
Added basic toderp
This commit is contained in:
19
js/controllers/ionic-tabcontroller.js
Normal file
19
js/controllers/ionic-tabcontroller.js
Normal file
@ -0,0 +1,19 @@
|
||||
|
||||
(function(window, document, ion) {
|
||||
ion.controllers = ion.controllers || {};
|
||||
|
||||
ion.controllers.TabController = function(options) {
|
||||
this.viewControllers = [];
|
||||
this.selectedViewController = null;
|
||||
|
||||
var tabChildren = options.tab.querySelectorAll('.tab-item');
|
||||
console.log("Building from", tabChildren.length, "tab items");
|
||||
for(var i = 0; i < tabChildren.length; i++) {
|
||||
}
|
||||
};
|
||||
|
||||
ion.controllers.TabController.prototype = {
|
||||
|
||||
};
|
||||
|
||||
})(this, document, ion = this.ion || {});
|
||||
Reference in New Issue
Block a user