1.0.0 • Published 5 years ago

make-dropdown v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
5 years ago

What is this?

Create one or more dropdown menus which can be layered.

Installation

npm i make-dropdown --save

import { setUpDropdown } from 'make-dropdown';

setUpDropdown('./#trigger-identifier', 'dropdown-content-class', 'new-class');

Notes

Make sure that the class names for the dropdown content and the style which will be applied are passed to the function without dots in the beginning.

1.0.0

5 years ago