Browse Source

update 类型补充

es6
dailer 3 years ago
parent
commit
cca83d8208
  1. 1
      typescript/base/combination/combo.ts
  2. 9
      typescript/index.ts

1
typescript/base/combination/combo.ts

@ -22,6 +22,7 @@ export declare class Combo extends Widget {
container?: any; // popupview放置的容器,默认为this.element
isDefaultInit?: boolean;
destroyWhenHide?: boolean;
hideWhenBlur?: boolean;
hideWhenAnotherComboOpen?: boolean;
isNeedAdjustHeight?: boolean; // 是否需要高度调整
isNeedAdjustWidth?: boolean;

9
typescript/index.ts

@ -44,6 +44,9 @@ import { _inject } from "./core/inject";
import { Layout } from "./core/wrapper/layout";
import { AbsoluteLayout } from "./core/wrapper/layout/layout.absolute";
import { HTapeLayout, VTapeLayout } from "./core/wrapper/layout/layout.tape";
import {HorizontalFillLayout} from "./core/wrapper/layout/fill/fill.horizontal";
import {VerticalFillLayout} from "./core/wrapper/layout/fill/fill.vertical";
import {FloatHorizontalFillLayout} from "./core/wrapper/layout/fill/float.fill.horizontal";
import { VerticalLayout } from "./core/wrapper/layout/layout.vertical";
import { DefaultLayout } from "./core/wrapper/layout/layout.default";
import { DownListCombo } from "./widget/downlist/combo.downlist";
@ -243,6 +246,9 @@ export interface BI extends _func, _i18n, _base, _inject, _var, _web, _utils {
DownListCombo: typeof DownListCombo;
Iframe: typeof Iframe;
AbsoluteLayout: typeof AbsoluteLayout;
HorizontalFillLayout: typeof HorizontalFillLayout;
VerticalFillLayout: typeof VerticalFillLayout;
FloatHorizontalFillLayout: typeof FloatHorizontalFillLayout;
VerticalLayout: typeof VerticalLayout;
DefaultLayout: typeof DefaultLayout;
Input: typeof Input;
@ -389,6 +395,9 @@ export {
HorizontalAdaptLayout,
FloatLeftLayout,
FloatRightLayout,
HorizontalFillLayout,
VerticalFillLayout,
FloatHorizontalFillLayout,
VerticalLayout,
AbsoluteLayout,
DefaultLayout,

Loading…
Cancel
Save