1.0.0 • Published 6 years ago

su-dropdown v1.0.0

Weekly downloads
3
License
MIT
Repository
-
Last release
6 years ago

Su-Dropdown

Dropdown component.

Installing

yarn install @sushi-ui/su-dropdown

or

npm install @sushi-ui/su-dropdown

Getting started

Minimum HTML markup

<div class="su-Dropdown">
  <button>trigger</button>
  <div class="su-Dropdown-content"></div>
</div>

Create a new dropdown instance

const el = document.querySelector('.su-Dropdown')
const dropdown = new SuDropdown(el, options)

API

Comming soon

License

This project is licensed under the MIT License - see the LICENSE.md file for details