@rogieking/figui3 1.0.75 → 1.0.77

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.
Files changed (2) hide show
  1. package/fig.js +3 -1
  2. package/package.json +1 -1
package/fig.js CHANGED
@@ -751,7 +751,9 @@ class FigSlider extends HTMLElement {
751
751
  this.style.setProperty("--color", this.color);
752
752
  break;
753
753
  case "type":
754
- this.input.className = newValue;
754
+ this.type = newValue;
755
+ this.innerHTML = this.#getInnerHTML();
756
+ this.#setupBindings();
755
757
  break;
756
758
  case "disabled":
757
759
  this.disabled = this.input.disabled =
package/package.json CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
2
  "name": "@rogieking/figui3",
3
- "version": "1.0.75"
3
+ "version": "1.0.77"
4
4
  }