Skip to content

Simple and light JS plugin to customize <select> elements

License

Notifications You must be signed in to change notification settings

goranefbl/softdrop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 Opera
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

About

Simple and light JS plugin to customize <select> elements

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published