Browse Source

无JIRA任务 提供一个控制icon的接口

es6
fay 4 years ago
parent
commit
52f43dbb9a
  1. 8
      src/widget/editor/editor.search.js

8
src/widget/editor/editor.search.js

@ -183,6 +183,14 @@ BI.SearchEditor = BI.inherit(BI.Widget, {
isValid: function () {
return this.editor.isValid();
},
showClearIcon: function () {
this.clear.visible();
},
hideClearIcon: function () {
this.clear.invisible();
}
});
BI.SearchEditor.EVENT_CHANGE = "EVENT_CHANGE";

Loading…
Cancel
Save