-
This is just a simple function that just toggles a hide class provided by the use it takes 3 mandatory argument and a single optional argument
dropDown(handeler,target,ToggleClass,event[optional])
- handeler : class of element on which event to toggle the class
- target : class of element on which toggle the class
- ToggleClass : class which is to toggle
- event : on what event to toggle class it is optional and by deafult it is click event!
-
This is just a simple module to learn how to create and publish your own module
@corner-guy/drop-down-menu
0.0.2 • Public • PublishedDependents (0)
Package Sidebar
Install
npm i @corner-guy/drop-down-menu
Repository
Weekly Downloads
0
Version
0.0.2
License
ISC
Unpacked Size
1.37 kB
Total Files
3