@ionic/angular 7.5.8-dev.11701876182.1e71e7a0 → 7.5.8-dev.11701894917.1c1465bd
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/directives/control-value-accessors/select-value-accessor.d.ts +2 -2
- package/directives/control-value-accessors/text-value-accessor.d.ts +2 -2
- package/directives/proxies.d.ts +2 -2
- package/esm2020/common/providers/nav-controller.mjs +3 -3
- package/esm2020/directives/control-value-accessors/index.mjs +1 -2
- package/esm2020/directives/control-value-accessors/select-value-accessor.mjs +3 -3
- package/esm2020/directives/control-value-accessors/text-value-accessor.mjs +3 -4
- package/esm2020/directives/proxies.mjs +7 -7
- 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 +33 -4
- package/esm2020/standalone/directives/range.mjs +5 -5
- 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 +96 -123
- package/fesm2015/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2015/ionic-angular.mjs +11 -53
- 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 +96 -123
- package/fesm2020/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2020/ionic-angular.mjs +11 -53
- 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 +18 -1
- package/standalone/directives/range.d.ts +1 -1
- 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
|
@@ -406,9 +406,9 @@ class NavController {
|
|
|
406
406
|
if (router) {
|
|
407
407
|
router.events.subscribe((ev) => {
|
|
408
408
|
if (ev instanceof NavigationStart) {
|
|
409
|
+
// restoredState is set if the browser back/forward button is used
|
|
409
410
|
const id = ev.restoredState ? ev.restoredState.navigationId : ev.id;
|
|
410
|
-
this.guessDirection = id < this.lastNavId ? 'back' : 'forward';
|
|
411
|
-
this.guessAnimation = !ev.restoredState ? this.guessDirection : undefined;
|
|
411
|
+
this.guessDirection = this.guessAnimation = id < this.lastNavId ? 'back' : 'forward';
|
|
412
412
|
this.lastNavId = this.guessDirection === 'forward' ? ev.id : id;
|
|
413
413
|
}
|
|
414
414
|
});
|