@rogieking/figui3 1.0.74 → 1.0.76
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.
- package/fig.js +3 -2
- package/package.json +1 -1
package/fig.js
CHANGED
|
@@ -652,7 +652,7 @@ class FigSlider extends HTMLElement {
|
|
|
652
652
|
step="${this.step}"
|
|
653
653
|
class="${this.type}"
|
|
654
654
|
value="${this.value}">
|
|
655
|
-
${this.
|
|
655
|
+
${this.initialInnerHTML}
|
|
656
656
|
</div>`;
|
|
657
657
|
if (this.text) {
|
|
658
658
|
html = `${slider}
|
|
@@ -721,7 +721,7 @@ class FigSlider extends HTMLElement {
|
|
|
721
721
|
if (this.color) {
|
|
722
722
|
this.style.setProperty("--color", this.color);
|
|
723
723
|
}
|
|
724
|
-
|
|
724
|
+
this.initialInnerHTML = this.innerHTML;
|
|
725
725
|
this.innerHTML = this.#getInnerHTML();
|
|
726
726
|
|
|
727
727
|
this.#setupBindings();
|
|
@@ -751,6 +751,7 @@ class FigSlider extends HTMLElement {
|
|
|
751
751
|
this.style.setProperty("--color", this.color);
|
|
752
752
|
break;
|
|
753
753
|
case "type":
|
|
754
|
+
this.type = newValue;
|
|
754
755
|
this.input.className = newValue;
|
|
755
756
|
break;
|
|
756
757
|
case "disabled":
|
package/package.json
CHANGED