@expressen/tallahassee
Advanced tools
Comparing version 11.18.0 to 11.19.0
Changelog | ||
========= | ||
## 11.19.0 | ||
- `removeAttribute` triggers attribute change | ||
## 11.18.0 | ||
@@ -5,0 +9,0 @@ |
@@ -375,3 +375,5 @@ "use strict"; | ||
removeAttribute(name) { | ||
if (!this.hasAttribute(name)) return; | ||
this.$elm.removeAttr(name); | ||
this._emitter.emit("_attributeChange", name, this); | ||
} | ||
@@ -378,0 +380,0 @@ requestFullscreen() { |
@@ -12,3 +12,3 @@ "use strict"; | ||
if (value === true) return this.setAttribute("disabled", "disabled"); | ||
this.$elm.removeAttr("disabled"); | ||
this.removeAttribute("disabled"); | ||
} | ||
@@ -15,0 +15,0 @@ get value() { |
@@ -30,3 +30,3 @@ "use strict"; | ||
if (value === true) return this.setAttribute("disabled", "disabled"); | ||
this.$elm.removeAttr("disabled"); | ||
this.removeAttribute("disabled"); | ||
} | ||
@@ -38,3 +38,3 @@ get readOnly() { | ||
if (value === true) return this.setAttribute("readonly", "readonly"); | ||
this.$elm.removeAttr("readonly"); | ||
this.removeAttribute("readonly"); | ||
} | ||
@@ -41,0 +41,0 @@ get value() { |
@@ -27,3 +27,3 @@ "use strict"; | ||
if (value === true) return this.setAttribute("disabled", "disabled"); | ||
this.$elm.removeAttr("disabled"); | ||
this.removeAttribute("disabled"); | ||
} | ||
@@ -30,0 +30,0 @@ get multiple() { |
@@ -12,3 +12,3 @@ "use strict"; | ||
if (value === true) return this.setAttribute("disabled", "disabled"); | ||
this.$elm.removeAttr("disabled"); | ||
this.removeAttribute("disabled"); | ||
} | ||
@@ -20,3 +20,3 @@ get readOnly() { | ||
if (value === true) return this.setAttribute("readonly", "readonly"); | ||
this.$elm.removeAttr("readonly"); | ||
this.removeAttribute("readonly"); | ||
} | ||
@@ -23,0 +23,0 @@ set innerHTML(value) { |
{ | ||
"name": "@expressen/tallahassee", | ||
"version": "11.18.0", | ||
"version": "11.19.0", | ||
"description": "Lightweight client testing framework", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
111834
3100