@corner-guy/drop-down-menu
v0.0.2
Published
a simple module to drop down functionality
Downloads
1
Readme
drop-down-menu
How To Use?
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!
About Module
This is just a simple module to learn how to create and publish your own module