forked from fanruan/fineui
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
696 B
22 lines
696 B
import { Widget } from "../../core/widget"; |
|
import { Action } from "../../core/action/action"; |
|
export declare class Tab extends Widget { |
|
static xtype: string; |
|
static EVENT_CHANGE: string; |
|
props: { |
|
showIndex: any; |
|
cardCreator: (v: any) => Obj; |
|
direction?: 'top' | 'bottom' | 'left' | 'right' | 'custom'; |
|
single?: boolean; |
|
logic?: { |
|
dynamic: boolean; |
|
}; |
|
tab?: any[]; |
|
}; |
|
setSelect(v: string | number, action?: Action, callback?: Function): void; |
|
removeTab(v: string | number): void; |
|
getSelect(): string | number; |
|
getSelectedTab<T>(): T; |
|
getTab<T>(v: string | number): T; |
|
populate(): void; |
|
}
|
|
|