refactor(nav-controller): add data property to the leaving opts so it's accessible to transition w

add data property to the leaving opts so it's accessible to transition when exiting
This commit is contained in:
Dan Bucholtz
2016-05-27 14:19:15 -05:00
parent 4b4092b25e
commit f6f16340e2

View File

@ -505,7 +505,8 @@ export class NavController extends Ion {
enteringView.setLeavingOpts({ enteringView.setLeavingOpts({
keyboardClose: false, keyboardClose: false,
direction: 'back', direction: 'back',
animation: enteringView.getTransitionName('back') animation: enteringView.getTransitionName('back'),
ev: opts.ev
}); });
// start the transition // start the transition