twin-odin-dropdown-menu
v1.0.0
Published
A simple, reusable dropdown component for web applications.
Downloads
9
Readme
Reusable Dropdown
A simple, reusable dropdown component for web applications.
Installation
npm install odin-dropdown-menu
Usage
import { Dropdown } from 'odin-dropdown-menu';
// Initialize all dropdowns on the page
document.querySelectorAll('.dropdown').forEach(dropdown => new Dropdown(dropdown));
Make sure to include the necessary HTML structure and CSS in your project.
License
MIT