mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
tabs navbar wip
This commit is contained in:
@@ -55,7 +55,7 @@ export class Tab extends NavBase {
|
||||
this.sections = tabs.parent.panes['_n'].sections;
|
||||
}
|
||||
|
||||
this.item = new NavItem(this);
|
||||
this.item = new NavItem(tabs.parent);
|
||||
this.item.setInstance(this);
|
||||
this.item.setViewElement(elementRef.domElement);
|
||||
tabs.addTab(this.item);
|
||||
@@ -85,6 +85,7 @@ export class Tab extends NavBase {
|
||||
callback && callback();
|
||||
});
|
||||
this._loaded = true;
|
||||
|
||||
} else {
|
||||
callback && callback();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user