Browse Source

Merge pull request #43 in ~GUY/fineui from ~WINDY/fineui:master to master

* commit '0b67143d9193e69c5733d34c48cb5efa0818ab4e':
  setVisible的display属性设置
master
windy 8 years ago
parent
commit
370d7b27a2
  1. 4
      bi/core.js
  2. 4
      docs/core.js
  3. 4
      src/core/widget.js

4
bi/core.js

@ -4512,11 +4512,11 @@ BI.Widget = BI.inherit(BI.OB, {
setVisible: function (visible) {
if (visible === true) {
this.options.invisible = false;
this.element.show();
this.element.css("display", "");
this._mount();
} else if (visible === false) {
this.options.invisible = true;
this.element.hide();
this.element.css("display", "none");
}
this.fireEvent(BI.Events.VIEW, visible);
},

4
docs/core.js

@ -14507,11 +14507,11 @@ BI.Widget = BI.inherit(BI.OB, {
setVisible: function (visible) {
if (visible === true) {
this.options.invisible = false;
this.element.show();
this.element.css("display", "");
this._mount();
} else if (visible === false) {
this.options.invisible = true;
this.element.hide();
this.element.css("display", "none");
}
this.fireEvent(BI.Events.VIEW, visible);
},

4
src/core/widget.js

@ -208,11 +208,11 @@ BI.Widget = BI.inherit(BI.OB, {
setVisible: function (visible) {
if (visible === true) {
this.options.invisible = false;
this.element.show();
this.element.css("display", "");
this._mount();
} else if (visible === false) {
this.options.invisible = true;
this.element.hide();
this.element.css("display", "none");
}
this.fireEvent(BI.Events.VIEW, visible);
},

Loading…
Cancel
Save