@pocketprep/ui-kit 3.1.3 → 3.1.4
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.
|
@@ -9307,7 +9307,7 @@ let Zt = class extends ye {
|
|
|
9307
9307
|
W(this, "option1");
|
|
9308
9308
|
W(this, "option2");
|
|
9309
9309
|
W(this, "defaultOption");
|
|
9310
|
-
W(this, "activeOption",
|
|
9310
|
+
W(this, "activeOption", 1);
|
|
9311
9311
|
}
|
|
9312
9312
|
toggleOption() {
|
|
9313
9313
|
return this.activeOption = this.activeOption === 2 ? 1 : 2, this.activeOption;
|
|
@@ -9315,6 +9315,9 @@ let Zt = class extends ye {
|
|
|
9315
9315
|
optionClicked(s) {
|
|
9316
9316
|
return this.activeOption = s, s;
|
|
9317
9317
|
}
|
|
9318
|
+
created() {
|
|
9319
|
+
this.activeOption = this.defaultOption;
|
|
9320
|
+
}
|
|
9318
9321
|
};
|
|
9319
9322
|
yi([
|
|
9320
9323
|
ee({ default: "Option 1" })
|