The select decorator component that was missing for Twitter Bootstrap 3.
- Dropdown decorator for
<select>
elements - Easy to use, a simple jQuery call and you're done!
- Tested via QUnit
- Support for internationalization
- ARIA ready
- Lightweight
.js
: about 1 KB minified and gzipped, ~11 KB uncompressed.css
: about 1 KB minified and gzipped, ~6 KB uncompressed
- Installation via Bower:
bower install bselect
- Installation via NPM:
npm install bselect
- Download zip/tarball - https://github.com/derflocki/bselect/archive/master.zip
- git clone this repo:
git clone git@github.com:derflocki/bselect.git
Access http://derflocki.github.io/bselect/ to see demos.
javascript
// Create the component
$("select").bselect();
// Create the component without an search input
$("select").bselect({ searchInput : false });
// Update the component - make the animation slower
$("select").bselect("option", "animationDuration", 600);
If you've found any problems, tell me!
MIT