@metalsnow/dropdown-toggle-package
v1.0.0
Published
This package provides a simple dropdown toggling function for JavaScript projects.
Downloads
3
Readme
Dropdown Package
This package provides a simple dropdown toggling function for JavaScript projects.
Installation
You can install this package via npm:
npm install @metalsnow/dropdown-toggle-package
Usage
To use the showDropdown function, import it into your JavaScript file:
import { dropdownToggle } from '@metalsnow/dropdown-toggle-package';
// Example usage:
const dropdownContainer = document.getElementById('dropdown-container');
dropdownToggle(dropdownContainer);