ets-fe-ng-sdk 19.0.116 → 19.0.117
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.
|
@@ -23545,6 +23545,26 @@ class ETSPromptUpdateService {
|
|
|
23545
23545
|
*/
|
|
23546
23546
|
constructor(swUpdate, cS) {
|
|
23547
23547
|
this.cS = cS;
|
|
23548
|
+
/**
|
|
23549
|
+
* Controls whether the update prompt dialog should be displayed.
|
|
23550
|
+
* When set to false, the service will not show any update prompts.
|
|
23551
|
+
*
|
|
23552
|
+
* @example
|
|
23553
|
+
* ```typescript
|
|
23554
|
+
* // Disable update prompts
|
|
23555
|
+
* promptUpdateService.showPrompt = false;
|
|
23556
|
+
*
|
|
23557
|
+
* // Enable update prompts (default)
|
|
23558
|
+
* promptUpdateService.showPrompt = true;
|
|
23559
|
+
*
|
|
23560
|
+
* // Conditionally show prompts based on user preferences
|
|
23561
|
+
* if (userSettings.allowUpdatePrompts) {
|
|
23562
|
+
* promptUpdateService.showPrompt = true;
|
|
23563
|
+
* } else {
|
|
23564
|
+
* promptUpdateService.showPrompt = false;
|
|
23565
|
+
* }
|
|
23566
|
+
* ```
|
|
23567
|
+
*/
|
|
23548
23568
|
this.showPrompt = true;
|
|
23549
23569
|
/**
|
|
23550
23570
|
* Indicates whether the confirmation prompt dialog is currently open
|