dropdown-top-v1
v1.1.0
Published
Create multiple dropdown menu.
Downloads
6
Readme
Dropdown-TOP
An implementation of a dropdown in vanilla javascript
How it works
Create multiple dropdown menu.
Download
Download and install the package by running:
npm install dropdown-TOP-v1
Usage
The dropdown requires a button and a list of items. There's no style applied to the dropdown.
Usage example
Methods
| Method | Description | | ------------ | ----------------------------------- | | openDropdown | Opens the dropdown content on click |