Subversion Repositories Integrator Subversion

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 espaco 1
bootstrap-select
2
================
3
 
4
[![Latest release](http://img.shields.io/github/release/silviomoreto/bootstrap-select.svg)](https://github.com/silviomoreto/bootstrap-select/releases/latest)
5
[![Dependency Status](https://david-dm.org/silviomoreto/bootstrap-select.svg)](https://david-dm.org/silviomoreto/bootstrap-select)
6
[![License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE)
7
 
8
[![devDependency Status](https://david-dm.org/silviomoreto/bootstrap-select/dev-status.svg)](https://david-dm.org/silviomoreto/bootstrap-select#info=devDependencies)
9
 
10
A custom select / multiselect for Bootstrap using button dropdown, designed to behave like regular Bootstrap selects.
11
 
12
## Demo and Documentation
13
 
14
See a Bootstrap 3.2.0 example [here](http://silviomoreto.github.io/bootstrap-select/3).
15
 
16
See a Bootstrap 2.3.2 example [here](http://silviomoreto.github.io/bootstrap-select) (deprecated).
17
 
18
## Authors
19
 
20
[Silvio Moreto](https://github.com/silviomoreto),
21
[Ana Carolina](https://github.com/anacarolinats),
22
[caseyjhol](https://github.com/caseyjhol),
23
[Matt Bryson](https://github.com/mattbryson), and
24
[t0xicCode](https://github.com/t0xicCode).
25
 
26
## Usage
27
 
28
Create your `<select>` with the `.selectpicker` class.
29
```html
30
<select class="selectpicker">
31
  <option>Mustard</option>
32
  <option>Ketchup</option>
33
  <option>Barbecue</option>
34
</select>
35
```
36
 
37
Enable Bootstrap-Select via JavaScript:
38
```js
39
$('.selectpicker').selectpicker();
40
```
41
Or just
42
```js
43
$('select').selectpicker();
44
```
45
 
46
***Starting with the current dev version, we support bootstrap's data-api, which means that you don't even have to manually instanciate bootstrap-select.***
47
 
48
Checkout the [documentation](http://silviomoreto.github.io/bootstrap-select) for further information.
49
 
50
## CDN
51
 
52
**N.B.**: The CDN is updated after the release is made public, which means that there is a delay between the publishing of a release and its availability on the CDN. Check [the GitHub page](https://github.com/silviomoreto/bootstrap-select/releases) for the latest release.
53
 
54
* [//cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.6.2/css/bootstrap-select.min.css](//cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.6.2/css/bootstrap-select.min.css)
55
* [//cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.6.2/js/bootstrap-select.min.js](//cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.6.2/js/bootstrap-select.min.js)
56
* //cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.6.2/js/i18n/defaults-*.min.js (The translation files)
57
 
58
## Bugs and feature requests
59
 
60
Anyone and everyone is welcome to contribute. Please take a moment to
61
review the [guidelines for contributing](CONTRIBUTING.md). Make sure you're using the latest version of bootstrap-select before submitting an issue.
62
 
63
* [Bug reports](CONTRIBUTING.md#bug-reports)
64
* [Feature requests](CONTRIBUTING.md#feature-requests)
65
 
66
## Copyright and license
67
 
68
Copyright (C) 2013-2014 bootstrap-select
69
 
70
Licensed under [the MIT license](LICENSE).