Skip to content

yebece/dropdowneasy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

"Banner" Dropdown Easy is a multi-purpose JavaScript library to make using dropdown elements in your project much more easier and advanced.

Installation

You can install it via npm package manager.

npm install dropdowneasy

or via GitHub.

Usage

You can simply start using it by including it in HTML.

<script src="dropdown.js"></script>

You must have a container element to open dropdown menu when container triggered. The container element must have "dropdown" as class, and the dropdown menu itself must have "dropdown-menu" as class. Then you can fill and stylize "dropdown-menu" as you want. Here's the structure:

<element class="dropdown">
    <element class="dropdown-menu">
        ...
    </element>
</element>

Then you can utilitize and stylize the dropdown menu as you want. Like the example below:

<div class="dropdown fade@0.1s-ease-in secondary-click">
    <div class="dropdown-menu">
        <ul>
            <li>Copy</li>
            <li>Paste</li>
            <li>Cut</li>
            <li>Delete</li>
        </ul>
    </div>
</div>

License

MIT

About

Dropdown Easy is a multi-purpose JavaScript library to make using dropdown elements in your project much more easier and advanced.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors