create enteringItem.postRender()

This commit is contained in:
Adam Bradley
2015-06-15 09:24:44 -05:00
parent 1db9ec3d2f
commit 839c547f0c
6 changed files with 86 additions and 32 deletions

View File

@ -19,6 +19,11 @@ export class Transition extends Animation {
// create animation for the entering item's "ion-view" element
this.enteringView = new Animation(enteringItem.viewElement());
this.enteringView.before.addClass(SHOW_VIEW_CSS);
this.enteringView.onPlay = () => {
enteringItem.postRender();
};
this.add(this.enteringView);
if (opts.navbar !== false) {