Files
tidal-dl-ng-webui/node_modules/flowbite/lib/esm/components/tabs/index.d.ts
2024-12-27 22:31:23 +09:00

24 lines
876 B
TypeScript

import type { TabItem, TabsOptions } from './types';
import type { InstanceOptions } from '../../dom/types';
import { TabsInterface } from './interface';
declare class Tabs implements TabsInterface {
_instanceId: string;
_tabsEl: HTMLElement;
_items: TabItem[];
_activeTab: TabItem;
_options: TabsOptions;
_initialized: boolean;
constructor(tabsEl?: HTMLElement | null, items?: TabItem[], options?: TabsOptions, instanceOptions?: InstanceOptions);
init(): void;
destroy(): void;
removeInstance(): void;
destroyAndRemoveInstance(): void;
getActiveTab(): TabItem;
setActiveTab(tab: TabItem): void;
getTab(id: string): TabItem;
show(id: string, forceShow?: boolean): void;
updateOnShow(callback: () => void): void;
}
export declare function initTabs(): void;
export default Tabs;
//# sourceMappingURL=index.d.ts.map