Browse Source

Merge pull request #5185 in DEC/fineui from master to feature/x

* commit '7ea8fb311978d91ab4e6d6ff5f5f0e5c3920555a':
  BI-104252 fix:bubbleCombo增加combo的adjustW、H方法
  BI-99093 fix:bubbleCombo增加combo的adjustW、H方法
es6
superman 3 years ago
parent
commit
85f8e4f264
  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 () { isViewVisible: function () {
return this.combo.isViewVisible(); 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; getPopupPosition(): any;
adjustWidth(e?:MouseEvent): void;
adjustHeight(e?: MouseEvent): void; adjustHeight(e?: MouseEvent): void;
toggle(): void; toggle(): void;

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

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

Loading…
Cancel
Save