Browse Source

添加DownListPopup声明文件

es6
Holiday 3 years ago
parent
commit
99c5314499
  1. 3
      typescript/index.ts
  2. 13
      typescript/widget/downlist/popup.downlist.ts

3
typescript/index.ts

@ -49,6 +49,7 @@ import { VerticalFillLayout } from "./core/wrapper/layout/fill/fill.vertical";
import { VerticalLayout } from "./core/wrapper/layout/layout.vertical";
import { DefaultLayout } from "./core/wrapper/layout/layout.default";
import { DownListCombo } from "./widget/downlist/combo.downlist";
import { DownListPopup } from "./widget/downlist/popup.downlist";
import { Icon } from "./base/single/icon/icon";
import { LeftVerticalAdaptLayout } from "./core/wrapper/layout/adapt/adapt.leftvertical";
import { LeftRightVerticalAdaptLayout, RightVerticalAdaptLayout } from "./core/wrapper/layout/adapt/adapt.leftrightvertical";
@ -245,6 +246,7 @@ export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
MultiTreeInsertCombo: typeof MultiTreeInsertCombo;
Decorators: typeof decorator;
DownListCombo: typeof DownListCombo;
DownListPopup: typeof DownListPopup;
Iframe: typeof Iframe;
AbsoluteLayout: typeof AbsoluteLayout;
HorizontalFillLayout: typeof HorizontalFillLayout;
@ -423,6 +425,7 @@ export {
Label,
TextButton,
DownListCombo,
DownListPopup,
IconChangeButton,
Button,
TextEditor,

13
typescript/widget/downlist/popup.downlist.ts

@ -0,0 +1,13 @@
import { Widget } from "../../core/widget";
export declare class DownListPopup extends Widget {
static xtype: string;
static EVENT_CHANGE: string;
static EVENT_SON_VALUE_CHANGE: string;
populate: (items: any) => void;
setValue: (v: any) => void;
getValue: () => any;
}
Loading…
Cancel
Save