mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 06:57:02 +08:00
Angular controller inheriting from our vanilla ctrl
This commit is contained in:
@ -60,12 +60,14 @@ TabBarController.prototype = {
|
||||
for(var i = 0, j = this.controllers.length; i < j; i ++) {
|
||||
c = this.controllers[i];
|
||||
//c.detach && c.detach();
|
||||
c.setVisible(false);
|
||||
c.isVisible = false;
|
||||
c.visibilityChanged && c.visibilityChanged();
|
||||
}
|
||||
|
||||
c = this.controllers[index];
|
||||
//c.attach && c.attach();
|
||||
c.setVisible(true);
|
||||
c.isVisible = true;
|
||||
c.visibilityChanged && c.visibilityChanged();
|
||||
},
|
||||
|
||||
_clearSelected: function() {
|
||||
|
||||
Reference in New Issue
Block a user