@energycap/components 0.38.8-ECAP-20257-allow-dialogs-with-aligntotop.20231030-1634 → 0.38.8-ECAP-20257-allow-dialogs-with-aligntotop.20231030-1700
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.
@@ -5328,6 +5328,10 @@ class DialogComponent {
|
|
5328
5328
|
if (options.alignToTop) {
|
5329
5329
|
this.alignToTop = true;
|
5330
5330
|
}
|
5331
|
+
if (options.alignToTopMargin) {
|
5332
|
+
this.alignToTopMargin = options.alignToTopMargin;
|
5333
|
+
}
|
5334
|
+
;
|
5331
5335
|
if (options.displayAsPanel) {
|
5332
5336
|
this.displayAsPanel = true;
|
5333
5337
|
this.transparentMask = true;
|