Browse Source

BI-99093 fix:bubbleCombo增加combo的adjustW、H方法

es6
Claire 3 years ago
parent
commit
8d5f650a1c
  1. 8
      src/case/combo/bubblecombo/combo.bubble.js
  2. 2
      typescript/base/combination/combo.ts
  3. 4
      typescript/case/combo/bubblecombo/combo.bubble.ts

8
src/case/combo/bubblecombo/combo.bubble.js

@ -99,6 +99,14 @@ BI.BubbleCombo = BI.inherit(BI.Widget, {
isViewVisible: function () {
return this.combo.isViewVisible();
},
adjustWidth: function () {
this.combo.adjustWidth();
},
adjustHeight: function () {
this.combo.adjustHeight();
}
});

2
typescript/base/combination/combo.ts

@ -59,6 +59,8 @@ export declare class Combo extends Widget {
getPopupPosition(): any;
adjustHeight(e?:MouseEvent): void;
adjustHeight(e?: MouseEvent): void;
toggle(): void;

4
typescript/case/combo/bubblecombo/combo.bubble.ts

@ -17,4 +17,8 @@ export declare class BubbleCombo extends Widget {
showView(): void;
isViewVisible(): boolean;
adjustHeight(e?:MouseEvent): void;
adjustHeight(e?: MouseEvent): void;
}

Loading…
Cancel
Save