Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gustavohenke/bselect
DEPRECATED - The select decorator component that was missing for Twitter Bootstrap.
https://github.com/gustavohenke/bselect
bootstrap deprecated javascript twitter-bootstrap
Last synced: 3 days ago
JSON representation
DEPRECATED - The select decorator component that was missing for Twitter Bootstrap.
- Host: GitHub
- URL: https://github.com/gustavohenke/bselect
- Owner: gustavohenke
- License: mit
- Archived: true
- Created: 2012-11-20T13:40:18.000Z (almost 12 years ago)
- Default Branch: development
- Last Pushed: 2016-10-18T06:58:47.000Z (about 8 years ago)
- Last Synced: 2024-10-08T12:02:44.577Z (about 1 month ago)
- Topics: bootstrap, deprecated, javascript, twitter-bootstrap
- Language: JavaScript
- Homepage: http://gustavohenke.github.io/bselect
- Size: 1.69 MB
- Stars: 126
- Watchers: 10
- Forks: 26
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# bselect [![Build Status](https://travis-ci.org/gustavohenke/bselect.png?branch=development)](https://travis-ci.org/gustavohenke/bselect) [![NPM version](https://badge.fury.io/js/bselect.png)](http://badge.fury.io/js/bselect)
The select decorator component that was missing for Twitter Bootstrap.
### Features
* Bootstrap-like dropdown decorator for `` 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](http://qunitjs.com/)
* 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
* Installation via Bower: `bower install bselect`
* Installation via NPM: `npm install bselect`
* Download zip/tarball - https://github.com/gustavohenke/bselect/archive/master.zip
* git clone this repo: `git clone [email protected]:gustavohenke/bselect.git`## Demo
Access [http://gustavohenke.github.io/bselect](http://gustavohenke.github.io/bselect) to see demos.## Usage
```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);
```## Bugs
If you've found any problems, [don't be afraid to tell me!](https://github.com/gustavohenke/bselect/issues/new)## License
MIT