Browse Source

Merge branch 'master' of ssh://code.fineres.com:7999/~dailer/fineui

es6
zsmj 3 years ago
parent
commit
63fb2019fc
  1. 2
      package.json
  2. 9
      src/widget/downlist/combo.downlist.js
  3. 4
      typescript/widget/downlist/combo.downlist.ts

2
package.json

@ -1,6 +1,6 @@
{
"name": "fineui",
"version": "2.0.20220519215357",
"version": "2.0.20220522141545",
"description": "fineui",
"main": "dist/fineui.min.js",
"types": "dist/lib/index.d.ts",

9
src/widget/downlist/combo.downlist.js

@ -83,8 +83,17 @@ BI.DownListCombo = BI.inherit(BI.Widget, {
setValue: function (v) {
this.popupview.setValue(v);
},
getValue: function () {
return this.popupview.getValue();
},
adjustWidth: function () {
this.downlistcombo.adjustWidth();
},
adjustHeight: function () {
this.downlistcombo.adjustHeight();
}
});
BI.DownListCombo.EVENT_CHANGE = "EVENT_CHANGE";

4
typescript/widget/downlist/combo.downlist.ts

@ -11,4 +11,8 @@ export declare class DownListCombo extends Widget {
showView: (e?: any) => void;
populate: (items?: any) => void;
adjustWidth: (e?: MouseEvent) => void;
adjustHeight: (e?: MouseEvent) => void;
}

Loading…
Cancel
Save