1.1.0 • Published 3 years ago
dropdown-top-v1 v1.1.0
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 |