@ionic/angular 7.5.5 → 7.5.6-dev.11700068172.15ce9b35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/directives/control-value-accessors/index.d.ts +0 -1
- package/esm2020/common/providers/nav-controller.mjs +3 -3
- package/esm2020/directives/control-value-accessors/index.mjs +1 -2
- package/esm2020/index.mjs +1 -2
- package/esm2020/ionic-module.mjs +2 -5
- package/esm2020/standalone/directives/index.mjs +1 -2
- package/esm2020/standalone/directives/proxies.mjs +30 -1
- package/esm2020/standalone/index.mjs +2 -2
- package/fesm2015/ionic-angular-common.mjs +2 -2
- package/fesm2015/ionic-angular-common.mjs.map +1 -1
- package/fesm2015/ionic-angular-standalone.mjs +88 -115
- package/fesm2015/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2015/ionic-angular.mjs +1 -42
- package/fesm2015/ionic-angular.mjs.map +1 -1
- package/fesm2020/ionic-angular-common.mjs +2 -2
- package/fesm2020/ionic-angular-common.mjs.map +1 -1
- package/fesm2020/ionic-angular-standalone.mjs +88 -115
- package/fesm2020/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2020/ionic-angular.mjs +1 -42
- package/fesm2020/ionic-angular.mjs.map +1 -1
- package/index.d.ts +0 -1
- package/ionic-module.d.ts +11 -12
- package/package.json +2 -2
- package/standalone/directives/index.d.ts +0 -1
- package/standalone/directives/proxies.d.ts +17 -0
- package/standalone/index.d.ts +1 -1
- package/directives/control-value-accessors/radio-value-accessor.d.ts +0 -9
- package/esm2020/directives/control-value-accessors/radio-value-accessor.mjs +0 -42
- package/esm2020/standalone/directives/radio.mjs +0 -62
- package/standalone/directives/radio.d.ts +0 -22
|
@@ -473,9 +473,9 @@ class NavController {
|
|
|
473
473
|
if (router) {
|
|
474
474
|
router.events.subscribe((ev) => {
|
|
475
475
|
if (ev instanceof NavigationStart) {
|
|
476
|
+
// restoredState is set if the browser back/forward button is used
|
|
476
477
|
const id = ev.restoredState ? ev.restoredState.navigationId : ev.id;
|
|
477
|
-
this.guessDirection = id < this.lastNavId ? 'back' : 'forward';
|
|
478
|
-
this.guessAnimation = !ev.restoredState ? this.guessDirection : undefined;
|
|
478
|
+
this.guessDirection = this.guessAnimation = id < this.lastNavId ? 'back' : 'forward';
|
|
479
479
|
this.lastNavId = this.guessDirection === 'forward' ? ev.id : id;
|
|
480
480
|
}
|
|
481
481
|
});
|