su-dropdown

1.0.0 • Public • Published

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

Dependents (0)

Package Sidebar

Install

npm i su-dropdown

Weekly Downloads

3

Version

1.0.0

License

MIT

Unpacked Size

27.8 kB

Total Files

5

Last publish

Collaborators

  • walraz