@material-tailwind/html
Version:
Material Tailwind is an open-source library that uses the power of Tailwind CSS and React to help you build unique web projects faster and easier. The stunning design inspired by Material Design is a bonus!
10 lines (9 loc) • 296 B
TypeScript
/**
* Toggles the visibility of a collapsible element.
* @param event - The click event triggering the toggle.
*/
export declare function toggleCollapse(event: Event): void;
/**
* Initializes collapsible buttons by attaching event listeners.
*/
export declare function initCollapse(): void;