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.
36 lines
759 B
36 lines
759 B
import { Widget } from "../../widget"; |
|
import { Layout } from "../layout"; |
|
|
|
export declare class CardLayout extends Layout { |
|
static xtype: string; |
|
|
|
empty(): void; |
|
|
|
isCardExisted(cardName: string): boolean; |
|
|
|
getCardByName<T>(name: string):T; |
|
|
|
deleteCardByName(cardName: string): void; |
|
|
|
addCardByName(cardName: string, cardItem: any): Widget |
|
|
|
showCardByName(cardName: string, action?: any, callback?: () => void): void; |
|
|
|
showLastCard(): void; |
|
|
|
setDefaultShowName(name: string): void; |
|
|
|
getDefaultShowName(): string; |
|
|
|
getAllCardNames(): string[]; |
|
|
|
getShowingCard<T>(): T; |
|
|
|
deleteAllCard(): void; |
|
|
|
hideAllCard(): void; |
|
|
|
isAllCardHide(): boolean; |
|
|
|
removeWidget(nameOrWidget: string | Widget): void; |
|
}
|
|
|