mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-21 04:53:58 +08:00
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:
@ -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
|
||||||
|
Reference in New Issue
Block a user