|
|
@ -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; |
|
|
|