From 21965bebed041a7d2482646699507ec938bedcc9 Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Mon, 15 May 2017 10:17:23 +0800 Subject: [PATCH] =?UTF-8?q?bubblecombo=20=E5=AE=9E=E7=8E=B0setEnable?= =?UTF-8?q?=E6=96=B9=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bi/case.js | 8 ++++++++ docs/case.js | 8 ++++++++ src/case/combo/bubblecombo/combo.bubble.js | 8 ++++++++ 3 files changed, 24 insertions(+) diff --git a/bi/case.js b/bi/case.js index 7b4c962e3c..44260087cf 100644 --- a/bi/case.js +++ b/bi/case.js @@ -3596,6 +3596,14 @@ BI.BubbleCombo = BI.inherit(BI.Widget, { hasView: function () { return BI.isNotNull(this.combo.getView()); + }, + + isViewVisible: function () { + return this.combo.isViewVisible(); + }, + + setEnable: function (v) { + this.combo.setEnable(!!v); } }); diff --git a/docs/case.js b/docs/case.js index 7b4c962e3c..44260087cf 100644 --- a/docs/case.js +++ b/docs/case.js @@ -3596,6 +3596,14 @@ BI.BubbleCombo = BI.inherit(BI.Widget, { hasView: function () { return BI.isNotNull(this.combo.getView()); + }, + + isViewVisible: function () { + return this.combo.isViewVisible(); + }, + + setEnable: function (v) { + this.combo.setEnable(!!v); } }); diff --git a/src/case/combo/bubblecombo/combo.bubble.js b/src/case/combo/bubblecombo/combo.bubble.js index 7da74e5caf..023872a577 100644 --- a/src/case/combo/bubblecombo/combo.bubble.js +++ b/src/case/combo/bubblecombo/combo.bubble.js @@ -197,6 +197,14 @@ BI.BubbleCombo = BI.inherit(BI.Widget, { hasView: function () { return BI.isNotNull(this.combo.getView()); + }, + + isViewVisible: function () { + return this.combo.isViewVisible(); + }, + + setEnable: function (v) { + this.combo.setEnable(!!v); } });