SoftDrop
Simple and light (2kb) JS plugin to customize <select> elements. Thats about it.
Live Demo
To see it in action, check out the live demo here.
Installation
For now, download the package and reference the JavaScript and CSS files manually:
<script src="dist/softdrop.min.js"></script>
<link rel="stylesheet" type="text/css" href="dist/softdrop.min.css">
Example Usage
As simple as it gets:
SoftDrop.init({
selector:'your-select-class', // select class
mobile:true // to show on mobile
});
Browser Support
This component has been tested in the following browsers:
Chrome | Firefox | Safari | IE 9+ | Opera |
If anyone wants to run any tests on older browser versions, please do so and reach out to me!
License
Copyright © 2016 Goran Jakovljevic - under MIT License