dropdown-menu-niconap

Simple constructor for a dropdown menu.

Usage no npm install needed!

<script type="module">
  import dropdownMenuNiconap from 'https://cdn.skypack.dev/dropdown-menu-niconap';
</script>

README

This project is a simple dropdown menu project. Create a dropdown menu like this:

// Construct a new menu object
const newMenu = new Menu(
  "Class for your menu items",
  "Class for the menu button (image tag)",
  "Icon of the menu button before clicked",
  "Icon of the menu button after clicked"
);

// Make the dropdown menu work
newMenu.configure();