fineui是帆软报表和BI产品线所使用的前端框架。
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.
 
 
 

33 lines
807 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'; // top, bottom, left, right, custom
single?: boolean; // 是不是单页面
logic?: {
dynamic: boolean;
};
tab?: Obj;
}
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;
isCardExisted(cardName: string): boolean;
}