nope/resources/ui/layout/interfaces/ITabEntry.ts

12 lines
368 B
TypeScript
Raw Normal View History

2020-10-30 18:30:59 +00:00
import { ITab } from './ITab';
export interface ITabEntry {
selectedTab: ITab | null
requestTab(): Promise<void>
createTab(tab:ITab): Promise<void>
editTab(tab: ITab | string): Promise<void>
tabs: ITab[]
activeTab: string
selectTab(tab: ITab | string): Promise<boolean>;
delteTab(tab: ITab | string, forced?: boolean): Promise<void>;
}