DEPRECATED - The select decorator component that was missing for Twitter Bootstrap.
JavaScript CSS
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
build
src
support
tests Test libs back in the repo (were taking too much time), added sinon, … Jul 11, 2013
.gitignore
.jscs.json JSCS update Jul 29, 2013
.jshintrc
.travis.yml
Gruntfile.js
LICENSE.txt
README.md
bower.json Rename component.json to bower.json Jul 11, 2013
bselect.jquery.json
index.html
package.json

README.md

bselect Build Status NPM version

The select decorator component that was missing for Twitter Bootstrap.

Features

  • Bootstrap-like dropdown decorator for <select> elements
  • Easy to use, a simple jQuery call and you're done!
  • Doesn't require any Bootstrap CSS or JS to work
  • 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

Demo

Access http://gustavohenke.github.io/bselect to see demos.

Usage

// 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);

Bugs

If you've found any problems, don't be afraid to tell me!

License

MIT