1.0.1 • Published 4 years ago

@guigger/dropdown-menu v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

To create a dropdown element, it first needs to be attached to a dropdown button (defined with the class 'dropdown' in HTML). Within this button, you can create the dropdown menu which corresponds to the button when clicked.

The dropdown menu needs to be given a HTML class of 'dropdown-menu' so that it can be toggled on and off by the dropdown button.