Browse Source

KERNEL-7828 补充一下类型定义

master
Kobi 4 years ago
parent
commit
42c5bef1cd
  1. 10
      typescript/base/combination/tab.ts

10
typescript/base/combination/tab.ts

@ -8,11 +8,13 @@ export declare class Tab extends Widget {
props: { props: {
showIndex: any; showIndex: any;
cardCreator: Function; cardCreator: (v: any) => Obj;
direction?: string; // top, bottom, left, right, custom direction?: 'top' | 'bottom' | 'left' | 'right' | 'custom'; // top, bottom, left, right, custom
single?: boolean; // 是不是单页面 single?: boolean; // 是不是单页面
logic?: any; logic?: {
tab?: boolean; dynamic: boolean;
};
tab?: any[];
} }
setSelect(v: string | number, action?: Action, callback?: Function): void; setSelect(v: string | number, action?: Action, callback?: Function): void;

Loading…
Cancel
Save