@akcelik/strct 0.9.2 → 0.10.0
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.
|
@@ -2224,8 +2224,13 @@ class StrctModal {
|
|
|
2224
2224
|
size = input('md', ...(ngDevMode ? [{ debugName: "size" }] : /* istanbul ignore next */ []));
|
|
2225
2225
|
/** Hide the footer slot. */
|
|
2226
2226
|
hideFooter = input(false, { ...(ngDevMode ? { debugName: "hideFooter" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
2227
|
-
/**
|
|
2228
|
-
|
|
2227
|
+
/**
|
|
2228
|
+
* Allow closing via a backdrop click / the Escape key. **Off by default** —
|
|
2229
|
+
* a modal closes only through its X button or an explicit action button, so a
|
|
2230
|
+
* stray click outside (or Escape) never discards in-progress work. Set
|
|
2231
|
+
* `dismissible` for lightweight, transient dialogs where quick dismissal is fine.
|
|
2232
|
+
*/
|
|
2233
|
+
dismissible = input(false, { ...(ngDevMode ? { debugName: "dismissible" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
2229
2234
|
/** Emitted when the alert is dismissed. */
|
|
2230
2235
|
closed = output();
|
|
2231
2236
|
titleId = `strct-modal-${++modalCounter}`;
|