1.0.0 • Published 10 months ago
@zainmustafa2004/drop-down-menu v1.0.0
Drop-Down-Menu
The element that opens and closes the menu must be assigned the class "ddm-btn". The unordered list that represents the menu must be assigned the class "ddm". An id must be given to the ul element. The ddm-btn that corresponds to this ul must have a name attribute set to the same value.
Assign a class of "click" to the ddm-btn if you want the menu to open and close on clicks to the btn. Assign a class of "hover" to the ddm-btn if you want the menu to open and stay open so long as the user is hovering on it. Assign a class of "non-persistent" to a "click" ddm-btn if you want it to close when the user hovers away.
1.0.0
10 months ago