Browse Source

feature: disabled

es6
guy 3 years ago
parent
commit
9cc6a08a29
  1. 3
      src/core/4.widget.js

3
src/core/4.widget.js

@ -573,6 +573,9 @@
if(!this.isEnabled()){
widget._setEnable(false);
}
if(!this.isValid()){
widget._setValid(false);
}
widget.on(BI.Events.DESTROY, function () {
BI.remove(self._children, this);
});

Loading…
Cancel
Save