@syncfusion/ej2-navigations 26.2.11 → 26.2.12
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/dist/ej2-navigations.min.js +2 -2
- package/dist/ej2-navigations.umd.min.js +2 -2
- package/dist/ej2-navigations.umd.min.js.map +1 -1
- package/dist/es6/ej2-navigations.es2015.js +10 -13
- package/dist/es6/ej2-navigations.es2015.js.map +1 -1
- package/dist/es6/ej2-navigations.es5.js +10 -15
- package/dist/es6/ej2-navigations.es5.js.map +1 -1
- package/dist/global/ej2-navigations.min.js +2 -2
- package/dist/global/ej2-navigations.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +5 -5
- package/src/stepper/stepper.d.ts +1 -0
- package/src/stepper/stepper.js +10 -15
|
@@ -18654,21 +18654,18 @@ let Stepper = class Stepper extends StepperBase {
|
|
|
18654
18654
|
}
|
|
18655
18655
|
}
|
|
18656
18656
|
wireEvents() {
|
|
18657
|
-
EventHandler.add(window, 'resize',
|
|
18658
|
-
|
|
18659
|
-
this.setProgressPosition(this.element, true);
|
|
18660
|
-
}
|
|
18661
|
-
this.navigateToStep(this.activeStep, null, null, false);
|
|
18662
|
-
}, this);
|
|
18663
|
-
EventHandler.add(window, 'click', () => { this.updateStepFocus(); }, this);
|
|
18657
|
+
EventHandler.add(window, 'resize', this.updateResize, this);
|
|
18658
|
+
EventHandler.add(window, 'click', this.updateStepFocus, this);
|
|
18664
18659
|
}
|
|
18665
18660
|
unWireEvents() {
|
|
18666
|
-
EventHandler.remove(window, 'resize',
|
|
18667
|
-
|
|
18668
|
-
|
|
18669
|
-
|
|
18670
|
-
|
|
18671
|
-
|
|
18661
|
+
EventHandler.remove(window, 'resize', this.updateResize);
|
|
18662
|
+
EventHandler.remove(window, 'click', this.updateStepFocus);
|
|
18663
|
+
}
|
|
18664
|
+
updateResize() {
|
|
18665
|
+
if (this.stepperItemList && this.progressbar && this.element.classList.contains(HORIZSTEP)) {
|
|
18666
|
+
this.setProgressPosition(this.element, true);
|
|
18667
|
+
}
|
|
18668
|
+
this.navigateToStep(this.activeStep, null, null, false);
|
|
18672
18669
|
}
|
|
18673
18670
|
updateStepFocus() {
|
|
18674
18671
|
if (this.isKeyNavFocus) {
|