second commit

This commit is contained in:
2024-12-27 22:31:23 +09:00
parent 2353324570
commit 10a0f110ca
8819 changed files with 1307198 additions and 28 deletions

View File

@ -0,0 +1,24 @@
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