ywana-core8 0.0.240 → 0.0.241
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/dist/index.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +3 -2
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +3 -2
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/html/textfield.js +3 -2
- package/src/html/textfield.test.js +1 -1
package/dist/index.umd.js
CHANGED
@@ -882,7 +882,7 @@
|
|
882
882
|
}
|
883
883
|
|
884
884
|
function focus() {
|
885
|
-
if (site) {
|
885
|
+
if (site && site.changeFocus) {
|
886
886
|
site.changeFocus({
|
887
887
|
lose: function lose() {// DO NOTHING
|
888
888
|
}
|
@@ -952,11 +952,12 @@
|
|
952
952
|
event.stopPropagation();
|
953
953
|
event.preventDefault();
|
954
954
|
var value = event.target.value;
|
955
|
+
console.log(value);
|
955
956
|
if (onChange) onChange(id, value);
|
956
957
|
}
|
957
958
|
|
958
959
|
function focus() {
|
959
|
-
if (site) {
|
960
|
+
if (site && site.changeFocus) {
|
960
961
|
site.changeFocus({
|
961
962
|
lose: function lose() {// DO NOTHING
|
962
963
|
}
|