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 container?: any; // popupview放置的容器,默认为this.element
isDefaultInit?: boolean; isDefaultInit?: boolean;
destroyWhenHide?: boolean; destroyWhenHide?: boolean;
hideWhenBlur?: boolean;
hideWhenAnotherComboOpen?: boolean; hideWhenAnotherComboOpen?: boolean;
isNeedAdjustHeight?: boolean; // 是否需要高度调整 isNeedAdjustHeight?: boolean; // 是否需要高度调整
isNeedAdjustWidth?: boolean; isNeedAdjustWidth?: boolean;

9
typescript/index.ts

@ -44,6 +44,9 @@ import { _inject } from "./core/inject";
import { Layout } from "./core/wrapper/layout"; import { Layout } from "./core/wrapper/layout";
import { AbsoluteLayout } from "./core/wrapper/layout/layout.absolute"; import { AbsoluteLayout } from "./core/wrapper/layout/layout.absolute";
import { HTapeLayout, VTapeLayout } from "./core/wrapper/layout/layout.tape"; 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 { VerticalLayout } from "./core/wrapper/layout/layout.vertical";
import { DefaultLayout } from "./core/wrapper/layout/layout.default"; import { DefaultLayout } from "./core/wrapper/layout/layout.default";
import { DownListCombo } from "./widget/downlist/combo.downlist"; 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; DownListCombo: typeof DownListCombo;
Iframe: typeof Iframe; Iframe: typeof Iframe;
AbsoluteLayout: typeof AbsoluteLayout; AbsoluteLayout: typeof AbsoluteLayout;
HorizontalFillLayout: typeof HorizontalFillLayout;
VerticalFillLayout: typeof VerticalFillLayout;
FloatHorizontalFillLayout: typeof FloatHorizontalFillLayout;
VerticalLayout: typeof VerticalLayout; VerticalLayout: typeof VerticalLayout;
DefaultLayout: typeof DefaultLayout; DefaultLayout: typeof DefaultLayout;
Input: typeof Input; Input: typeof Input;
@ -389,6 +395,9 @@ export {
HorizontalAdaptLayout, HorizontalAdaptLayout,
FloatLeftLayout, FloatLeftLayout,
FloatRightLayout, FloatRightLayout,
HorizontalFillLayout,
VerticalFillLayout,
FloatHorizontalFillLayout,
VerticalLayout, VerticalLayout,
AbsoluteLayout, AbsoluteLayout,
DefaultLayout, DefaultLayout,

Loading…
Cancel
Save