guy 7 years ago
parent
commit
a87b6b8392
  1. 8
      bi/widget.js
  2. 8
      docs/widget.js
  3. 8
      src/widget/arrangement/arrangement.js

8
bi/widget.js

@ -1093,14 +1093,6 @@ BI.Arrangement = BI.inherit(BI.Widget, {
return this.scrollContainer.element[0].clientHeight;
},
getContainerSize: function () {
return this.container.element.bounds();
},
setContainerSize: function (bounds) {
return this.container.element.bounds(bounds);
},
_applyContainer: function () {
//先掩藏后显示能够明确滚动条是否出现
this.scrollContainer.element.css("overflow", "hidden");

8
docs/widget.js

@ -1093,14 +1093,6 @@ BI.Arrangement = BI.inherit(BI.Widget, {
return this.scrollContainer.element[0].clientHeight;
},
getContainerSize: function () {
return this.container.element.bounds();
},
setContainerSize: function (bounds) {
return this.container.element.bounds(bounds);
},
_applyContainer: function () {
//先掩藏后显示能够明确滚动条是否出现
this.scrollContainer.element.css("overflow", "hidden");

8
src/widget/arrangement/arrangement.js

@ -299,14 +299,6 @@ BI.Arrangement = BI.inherit(BI.Widget, {
return this.scrollContainer.element[0].clientHeight;
},
getContainerSize: function () {
return this.container.element.bounds();
},
setContainerSize: function (bounds) {
return this.container.element.bounds(bounds);
},
_applyContainer: function () {
//先掩藏后显示能够明确滚动条是否出现
this.scrollContainer.element.css("overflow", "hidden");

Loading…
Cancel
Save