Browse Source

feature: 小三角换一种实现

es6
guy 3 years ago
parent
commit
dbab202a20
  1. 4
      src/case/combo/bubblecombo/popup.bubble.js
  2. 6
      src/widget/multiselect/multiselect.popup.view.js
  3. 6
      src/widget/multiselect/multiselect.popup.view.nobar.js
  4. 4
      src/widget/multitree/multi.tree.popup.js
  5. 6
      src/widget/searchmultitextvaluecombo/multitextvalue.popup.view.search.js
  6. 6
      src/widget/singleselect/singleselect.popup.view.js

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

@ -158,8 +158,8 @@ BI.TextBubblePopupBarView = BI.inherit(BI.Widget, {
};
},
setDirection: function (direction, size) {
this.popup.setDirection(direction, size);
setDirection: function (direction, position) {
this.popup.setDirection(direction, position);
},
populate: function (v) {
this.text.setText(v || this.options.text);

6
src/widget/multiselect/multiselect.popup.view.js

@ -84,7 +84,11 @@ BI.MultiSelectPopupView = BI.inherit(BI.Widget, {
resetWidth: function (w) {
this.popupView.resetWidth(w);
}
},
setDirection: function (direction, position) {
this.popupView.setDirection(direction, position);
},
});
BI.MultiSelectPopupView.EVENT_CHANGE = "EVENT_CHANGE";

6
src/widget/multiselect/multiselect.popup.view.nobar.js

@ -80,7 +80,11 @@ BI.MultiSelectNoBarPopupView = BI.inherit(BI.Widget, {
resetWidth: function (w) {
this.popupView.resetWidth(w);
}
},
setDirection: function (direction, position) {
this.popupView.setDirection(direction, position);
},
});
BI.MultiSelectNoBarPopupView.EVENT_CHANGE = "EVENT_CHANGE";

4
src/widget/multitree/multi.tree.popup.js

@ -84,6 +84,10 @@ BI.MultiTreePopup = BI.inherit(BI.Pane, {
return this.tree.hasChecked();
},
setDirection: function (direction, position) {
this.popupView.setDirection(direction, position);
},
resetHeight: function (h) {
this.popupView.resetHeight(h);
},

6
src/widget/searchmultitextvaluecombo/multitextvalue.popup.view.search.js

@ -77,7 +77,11 @@ BI.SearchMultiSelectPopupView = BI.inherit(BI.Widget, {
resetWidth: function (w) {
this.popupView.resetWidth(w);
}
},
setDirection: function (direction, position) {
this.popupView.setDirection(direction, position);
},
});
BI.SearchMultiSelectPopupView.EVENT_CHANGE = "EVENT_CHANGE";

6
src/widget/singleselect/singleselect.popup.view.js

@ -69,7 +69,11 @@ BI.SingleSelectPopupView = BI.inherit(BI.Widget, {
resetWidth: function (w) {
this.popupView.resetWidth(w);
}
},
setDirection: function (direction, position) {
this.popupView.setDirection(direction, position);
},
});
BI.SingleSelectPopupView.EVENT_CHANGE = "EVENT_CHANGE";

Loading…
Cancel
Save