From a87b6b8392ac01da7c9e2ef55f823dbb59811682 Mon Sep 17 00:00:00 2001 From: guy Date: Wed, 5 Jul 2017 09:13:57 +0800 Subject: [PATCH] add --- bi/widget.js | 8 -------- docs/widget.js | 8 -------- src/widget/arrangement/arrangement.js | 8 -------- 3 files changed, 24 deletions(-) diff --git a/bi/widget.js b/bi/widget.js index 5094c089b7..33faa70338 100644 --- a/bi/widget.js +++ b/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"); diff --git a/docs/widget.js b/docs/widget.js index 5094c089b7..33faa70338 100644 --- a/docs/widget.js +++ b/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"); diff --git a/src/widget/arrangement/arrangement.js b/src/widget/arrangement/arrangement.js index 55b80e09bf..25d23394a7 100644 --- a/src/widget/arrangement/arrangement.js +++ b/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");