makeDropDown(eventType, dropdownNode, dropdownWrapper)
'eventType' represents the listener that will
add/remove visible & hidden classes of the 'dropdownNode'.
dropdownWrapper takes in a node that wraps the Dropdown Menu(dropdownNode) itself and
any other possible elements that should trigger the toggle of classes
when the event is triggered on them.
@tree-ro/dropdownmenu
1.1.0 • Public • PublishedPackage Sidebar
Install
npm i @tree-ro/dropdownmenu
Weekly Downloads
0
Version
1.1.0
License
ISC
Unpacked Size
1.49 kB
Total Files
3