@syncfusion/ej2-schedule 27.1.57 → 27.1.58
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-schedule.min.js +2 -2
- package/dist/ej2-schedule.umd.min.js +2 -2
- package/dist/ej2-schedule.umd.min.js.map +1 -1
- package/dist/es6/ej2-schedule.es2015.js +6 -4
- package/dist/es6/ej2-schedule.es2015.js.map +1 -1
- package/dist/es6/ej2-schedule.es5.js +6 -4
- package/dist/es6/ej2-schedule.es5.js.map +1 -1
- package/dist/global/ej2-schedule.min.js +2 -2
- package/dist/global/ej2-schedule.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/package.json +10 -10
- package/src/schedule/exports/print.js +6 -4
|
@@ -29395,10 +29395,12 @@ var Print = /** @__PURE__ @class */ (function () {
|
|
|
29395
29395
|
var _this = this;
|
|
29396
29396
|
this.printWindow = print$1(this.printInstance.element, this.printWindow);
|
|
29397
29397
|
this.printWindow.onbeforeunload = function () {
|
|
29398
|
-
_this.printInstance
|
|
29399
|
-
|
|
29400
|
-
|
|
29401
|
-
|
|
29398
|
+
if (_this.printInstance) {
|
|
29399
|
+
_this.printInstance.off(print, _this.contentReady);
|
|
29400
|
+
_this.printInstance.element.remove();
|
|
29401
|
+
_this.printInstance.destroy();
|
|
29402
|
+
_this.printInstance = null;
|
|
29403
|
+
}
|
|
29402
29404
|
_this.printWindow = null;
|
|
29403
29405
|
};
|
|
29404
29406
|
};
|