Browse Source

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

* commit '9b79fac8ca7dc9b5da99ba7622fa32412e68ce6f':
  给downlistcombo开一些接口
es6
windy 7 years ago
parent
commit
12385fe2f7
  1. 6
      bi/widget.js
  2. 6
      docs/widget.js
  3. 6
      src/widget/downlist/combo.downlist.js

6
bi/widget.js

@ -3496,6 +3496,7 @@ BI.DownListCombo = BI.inherit(BI.Widget, {
height: 25,
items: [],
adjustLength: 0,
direction: "bottom",
el: {}
})
},
@ -3525,6 +3526,7 @@ BI.DownListCombo = BI.inherit(BI.Widget, {
type: 'bi.combo',
isNeedAdjustWidth: false,
adjustLength: o.adjustLength,
direction: o.direction,
el: BI.createWidget(o.el, {
type: "bi.icon_trigger",
extraCls: o.iconCls ? o.iconCls : "pull-down-font",
@ -3547,6 +3549,10 @@ BI.DownListCombo = BI.inherit(BI.Widget, {
this.downlistcombo.hideView();
},
showView: function () {
this.downlistcombo.showView();
},
populate: function (items) {
this.popupview.populate(items);
},

6
docs/widget.js

@ -3496,6 +3496,7 @@ BI.DownListCombo = BI.inherit(BI.Widget, {
height: 25,
items: [],
adjustLength: 0,
direction: "bottom",
el: {}
})
},
@ -3525,6 +3526,7 @@ BI.DownListCombo = BI.inherit(BI.Widget, {
type: 'bi.combo',
isNeedAdjustWidth: false,
adjustLength: o.adjustLength,
direction: o.direction,
el: BI.createWidget(o.el, {
type: "bi.icon_trigger",
extraCls: o.iconCls ? o.iconCls : "pull-down-font",
@ -3547,6 +3549,10 @@ BI.DownListCombo = BI.inherit(BI.Widget, {
this.downlistcombo.hideView();
},
showView: function () {
this.downlistcombo.showView();
},
populate: function (items) {
this.popupview.populate(items);
},

6
src/widget/downlist/combo.downlist.js

@ -9,6 +9,7 @@ BI.DownListCombo = BI.inherit(BI.Widget, {
height: 25,
items: [],
adjustLength: 0,
direction: "bottom",
el: {}
})
},
@ -38,6 +39,7 @@ BI.DownListCombo = BI.inherit(BI.Widget, {
type: 'bi.combo',
isNeedAdjustWidth: false,
adjustLength: o.adjustLength,
direction: o.direction,
el: BI.createWidget(o.el, {
type: "bi.icon_trigger",
extraCls: o.iconCls ? o.iconCls : "pull-down-font",
@ -60,6 +62,10 @@ BI.DownListCombo = BI.inherit(BI.Widget, {
this.downlistcombo.hideView();
},
showView: function () {
this.downlistcombo.showView();
},
populate: function (items) {
this.popupview.populate(items);
},

Loading…
Cancel
Save