Browse Source

feature: 小三角换一种实现

es6
guy 2 years ago
parent
commit
875b67c3ab
  1. 4
      src/case/combo/bubblecombo/popup.bubble.js

4
src/case/combo/bubblecombo/popup.bubble.js

@ -138,6 +138,7 @@ BI.TextBubblePopupBarView = BI.inherit(BI.Widget, {
return {
type: "bi.bubble_bar_popup_view",
primary: o.primary,
showArrow: o.showArrow,
minWidth: o.minWidth,
maxWidth: o.maxWidth,
minHeight: o.minHeight,
@ -157,6 +158,9 @@ BI.TextBubblePopupBarView = BI.inherit(BI.Widget, {
};
},
setDirection: function (direction, size) {
this.popup.setDirection(direction, size);
},
populate: function (v) {
this.text.setText(v || this.options.text);
}

Loading…
Cancel
Save