www_hero/node_modules/flowbite/lib/cjs/components/collapse/index.d.ts

16 lines
573 B
TypeScript
Raw Normal View History

2024-05-03 04:39:20 +00:00
import type { CollapseOptions } from './types';
import { CollapseInterface } from './interface';
declare class Collapse implements CollapseInterface {
_targetEl: HTMLElement | null;
_triggerEl: HTMLElement | null;
_options: CollapseOptions;
_visible: boolean;
constructor(targetEl?: HTMLElement | null, triggerEl?: HTMLElement | null, options?: CollapseOptions);
_init(): void;
collapse(): void;
expand(): void;
toggle(): void;
}
export declare function initCollapses(): void;
export default Collapse;
//# sourceMappingURL=index.d.ts.map