@zyzgroup/core-web 0.0.93 → 0.0.94
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.
|
@@ -4489,16 +4489,16 @@ function ys(n) {
|
|
|
4489
4489
|
shadowRoot: () => n.shadowRoot,
|
|
4490
4490
|
isInput: () => n.tagName === "INPUT" || n instanceof HTMLInputElement,
|
|
4491
4491
|
isInputCheckbox: function() {
|
|
4492
|
-
return this.
|
|
4492
|
+
return this.isInput(n) && n.getAttribute("type") === "checkbox";
|
|
4493
4493
|
},
|
|
4494
4494
|
isInputRadio: function() {
|
|
4495
|
-
return this.
|
|
4495
|
+
return this.isInput(n) && n.getAttribute("type") === "radio";
|
|
4496
4496
|
},
|
|
4497
4497
|
isInputText: function() {
|
|
4498
|
-
return this.
|
|
4498
|
+
return this.isInput(n) && n.getAttribute("type") === "text";
|
|
4499
4499
|
},
|
|
4500
4500
|
isInputNumber: function() {
|
|
4501
|
-
return this.
|
|
4501
|
+
return this.isInput(n) && n.getAttribute("type") === "number";
|
|
4502
4502
|
},
|
|
4503
4503
|
isSelect: () => n instanceof HTMLSelectElement,
|
|
4504
4504
|
isTextArea: () => n instanceof HTMLTextAreaElement,
|