mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 15:07:13 +08:00
20 lines
497 B
JavaScript
20 lines
497 B
JavaScript
|
|
(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 || {});
|