feat(navCtrl): create postRender

This commit is contained in:
Adam Bradley
2015-11-28 23:15:47 -06:00
parent c420c0d726
commit e0da73e07a
6 changed files with 112 additions and 83 deletions

View File

@@ -61,6 +61,7 @@ class IOSTransition extends Animation {
.add(enteringNavbarItems)
.add(enteringNavbarBg)
.add(enteringBackButton);
enteringNavBar.before.addClass('show-navbar');
enteringTitle.fadeIn();
enteringNavbarItems.fadeIn();

View File

@@ -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()) {