mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
feat(navCtrl): create postRender
This commit is contained in:
@@ -61,6 +61,7 @@ class IOSTransition extends Animation {
|
||||
.add(enteringNavbarItems)
|
||||
.add(enteringNavbarBg)
|
||||
.add(enteringBackButton);
|
||||
enteringNavBar.before.addClass('show-navbar');
|
||||
|
||||
enteringTitle.fadeIn();
|
||||
enteringNavbarItems.fadeIn();
|
||||
|
||||
@@ -35,6 +35,10 @@ class MDTransition extends Animation {
|
||||
}
|
||||
|
||||
if (enteringHasNavbar) {
|
||||
let enteringNavBar = new Animation(enteringView.navbarRef());
|
||||
this.add(enteringNavBar);
|
||||
enteringNavBar.before.addClass('show-navbar');
|
||||
|
||||
let enteringBackButton = new Animation(enteringView.backBtnRef());
|
||||
this.add(enteringBackButton);
|
||||
if (enteringView.enableBack()) {
|
||||
|
||||
Reference in New Issue
Block a user