Browse Source

input propertychange

es6
windy 7 years ago
parent
commit
824f4be7af
  1. 9
      bi/base.js
  2. 9
      dist/base.js
  3. 9
      dist/bundle.js
  4. 6
      dist/bundle.min.js
  5. 9
      src/base/single/input/input.js

9
bi/base.js

@ -19390,9 +19390,12 @@ BI.Input = BI.inherit(BI.Single, {
} }
}) })
.on("input propertychange", function (e) { .on("input propertychange", function (e) {
inputEventValid = true; //这个事件在input的属性发生改变的时候就会触发(class的变化也算)
self._keydown_ = true; if(BI.isNotNull(e.keyCode)){
_keydown(e.keyCode); inputEventValid = true;
self._keydown_ = true;
_keydown(e.keyCode);
}
}) })
.click(function (e) { .click(function (e) {
e.stopPropagation(); e.stopPropagation();

9
dist/base.js vendored

@ -19390,9 +19390,12 @@ BI.Input = BI.inherit(BI.Single, {
} }
}) })
.on("input propertychange", function (e) { .on("input propertychange", function (e) {
inputEventValid = true; //这个事件在input的属性发生改变的时候就会触发(class的变化也算)
self._keydown_ = true; if(BI.isNotNull(e.keyCode)){
_keydown(e.keyCode); inputEventValid = true;
self._keydown_ = true;
_keydown(e.keyCode);
}
}) })
.click(function (e) { .click(function (e) {
e.stopPropagation(); e.stopPropagation();

9
dist/bundle.js vendored

@ -45237,9 +45237,12 @@ BI.Input = BI.inherit(BI.Single, {
} }
}) })
.on("input propertychange", function (e) { .on("input propertychange", function (e) {
inputEventValid = true; //这个事件在input的属性发生改变的时候就会触发(class的变化也算)
self._keydown_ = true; if(BI.isNotNull(e.keyCode)){
_keydown(e.keyCode); inputEventValid = true;
self._keydown_ = true;
_keydown(e.keyCode);
}
}) })
.click(function (e) { .click(function (e) {
e.stopPropagation(); e.stopPropagation();

6
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

9
src/base/single/input/input.js

@ -40,9 +40,12 @@ BI.Input = BI.inherit(BI.Single, {
} }
}) })
.on("input propertychange", function (e) { .on("input propertychange", function (e) {
inputEventValid = true; //这个事件在input的属性发生改变的时候就会触发(class的变化也算)
self._keydown_ = true; if(BI.isNotNull(e.keyCode)){
_keydown(e.keyCode); inputEventValid = true;
self._keydown_ = true;
_keydown(e.keyCode);
}
}) })
.click(function (e) { .click(function (e) {
e.stopPropagation(); e.stopPropagation();

Loading…
Cancel
Save