chek-dropdown

2.0.0 • Public • Published

dropdown

DROPDOWN MODULE

  1. dropdown function will have an dom anchor parameter which will iterate over each child (e.g. ul with lis or a div with a bunch of a tags), as well as a button parameter
  2. the function will load and will iterate over each child to give it a 'hidden' class
  3. we will add a class of 'visible' to each child when the user clicks on the main menu button

receive anchor and button, stow anchor children in an array, add class of 'hidden' to each child

Readme

Keywords

none

Package Sidebar

Install

npm i chek-dropdown

Weekly Downloads

0

Version

2.0.0

License

ISC

Unpacked Size

9.61 kB

Total Files

9

Last publish

Collaborators

  • behema