jsl-ui 9.20.8 → 9.20.9
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.
|
@@ -108,6 +108,14 @@ var DialogComponent = /** @class */ (function () {
|
|
|
108
108
|
DialogComponent.Cancel = function () {
|
|
109
109
|
return DialogComponent.Button({ content: UILang.core.Cancel, class: "dlg-cancel-btn jsl-button-outline" });
|
|
110
110
|
};
|
|
111
|
+
// does not work -> dialog still exists in background and wrong renderer is active
|
|
112
|
+
// public static closeAll() {
|
|
113
|
+
// document.querySelectorAll(".jsl-dialog-overlay").forEach((x) => {
|
|
114
|
+
// if (x.parentNode != null) {
|
|
115
|
+
// x.parentNode.removeChild(x);
|
|
116
|
+
// }
|
|
117
|
+
// });
|
|
118
|
+
// }
|
|
111
119
|
DialogComponent.show = function (options) {
|
|
112
120
|
var container = document.createElement("div");
|
|
113
121
|
document.body.appendChild(container);
|