@ionic/angular 7.5.3-dev.11698859252.15ac163e → 7.5.3-dev.11699994454.1cbf1283
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/angular-component-lib/utils.mjs +1 -9
- 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/angular-component-lib/utils.mjs +1 -9
- package/esm2020/standalone/directives/checkbox.mjs +40 -28
- package/esm2020/standalone/directives/datetime.mjs +42 -30
- package/esm2020/standalone/directives/input.mjs +42 -29
- package/esm2020/standalone/directives/radio-group.mjs +40 -28
- package/esm2020/standalone/directives/radio.mjs +27 -41
- package/esm2020/standalone/directives/range.mjs +40 -28
- package/esm2020/standalone/directives/searchbar.mjs +42 -29
- package/esm2020/standalone/directives/segment.mjs +40 -28
- package/esm2020/standalone/directives/select.mjs +42 -29
- package/esm2020/standalone/directives/textarea.mjs +42 -29
- package/esm2020/standalone/directives/toggle.mjs +40 -28
- package/fesm2015/ionic-angular-common.mjs +2 -2
- package/fesm2015/ionic-angular-common.mjs.map +1 -1
- package/fesm2015/ionic-angular-standalone.mjs +273 -279
- package/fesm2015/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2015/ionic-angular.mjs +1 -50
- 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 +273 -279
- package/fesm2020/ionic-angular-standalone.mjs.map +1 -1
- package/fesm2020/ionic-angular.mjs +1 -50
- 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/checkbox.d.ts +3 -1
- package/standalone/directives/datetime.d.ts +3 -1
- package/standalone/directives/input.d.ts +3 -1
- package/standalone/directives/radio-group.d.ts +3 -1
- package/standalone/directives/radio.d.ts +5 -5
- package/standalone/directives/range.d.ts +3 -1
- package/standalone/directives/searchbar.d.ts +3 -1
- package/standalone/directives/segment.d.ts +3 -1
- package/standalone/directives/select.d.ts +3 -1
- package/standalone/directives/textarea.d.ts +3 -1
- package/standalone/directives/toggle.d.ts +3 -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
|
@@ -796,9 +796,9 @@ class NavController {
|
|
|
796
796
|
if (router) {
|
|
797
797
|
router.events.subscribe((ev) => {
|
|
798
798
|
if (ev instanceof NavigationStart) {
|
|
799
|
+
// restoredState is set if the browser back/forward button is used
|
|
799
800
|
const id = ev.restoredState ? ev.restoredState.navigationId : ev.id;
|
|
800
|
-
this.guessDirection = id < this.lastNavId ? 'back' : 'forward';
|
|
801
|
-
this.guessAnimation = !ev.restoredState ? this.guessDirection : undefined;
|
|
801
|
+
this.guessDirection = this.guessAnimation = id < this.lastNavId ? 'back' : 'forward';
|
|
802
802
|
this.lastNavId = this.guessDirection === 'forward' ? ev.id : id;
|
|
803
803
|
}
|
|
804
804
|
});
|