@expressen/tallahassee
Advanced tools
Comparing version 14.16.0 to 15.0.0
@@ -23,3 +23,2 @@ "use strict"; | ||
set checked(value) { | ||
const checked = this.$elm.prop("checked"); | ||
switch (this.type) { | ||
@@ -43,4 +42,2 @@ case "checkbox": | ||
this.$elm.prop("checked", !!value); | ||
if (checked === !!value) this.dispatchEvent(new InputEvent("input")); | ||
return value; | ||
@@ -102,2 +99,3 @@ } | ||
this.dispatchEvent(new InputEvent("input")); | ||
this.dispatchEvent(new InputEvent("change"), { bubbles: true }); | ||
break; | ||
@@ -107,5 +105,7 @@ case "file": | ||
this.dispatchEvent(new Event("input")); | ||
this.dispatchEvent(new InputEvent("change"), { bubbles: true }); | ||
break; | ||
default: | ||
this.dispatchEvent(new Event("input")); | ||
this.dispatchEvent(new InputEvent("change"), { bubbles: true }); | ||
break; | ||
@@ -112,0 +112,0 @@ } |
@@ -106,2 +106,3 @@ "use strict"; | ||
this.dispatchEvent(new Event("input")); | ||
this.dispatchEvent(new Event("change", { bubbles: true })); | ||
} | ||
@@ -108,0 +109,0 @@ return val; |
@@ -39,2 +39,3 @@ "use strict"; | ||
this.dispatchEvent(new InputEvent("input")); | ||
this.dispatchEvent(new InputEvent("change", { bubbles: true })); | ||
} | ||
@@ -41,0 +42,0 @@ |
{ | ||
"name": "@expressen/tallahassee", | ||
"version": "14.16.0", | ||
"version": "15.0.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
130165
3961