mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-15 09:34:19 +08:00
@ -107,6 +107,8 @@ function getAnimation(direction: RouterDirection, animated: boolean | undefined,
|
||||
}
|
||||
if (direction === 'forward' || direction === 'back') {
|
||||
return direction;
|
||||
} else if (direction === 'root' && animated === true) {
|
||||
return 'forward';
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
|
Reference in New Issue
Block a user