jqmodules/bootstrap-select
最新稳定版本:1.7.31
Composer 安装命令:
composer require jqmodules/bootstrap-select
包简介
A custom <select> for Bootstrap using button dropdown as replacement
README 文档
README
A custom select / multiselect for Bootstrap using button dropdown, designed to behave like regular Bootstrap selects.
Demo and Documentation
See a Bootstrap 3 example here.
Authors
Silvio Moreto, Ana Carolina, caseyjhol, Matt Bryson, and t0xicCode.
Usage
Create your <select> with the .selectpicker class.
<select class="selectpicker"> <option>Mustard</option> <option>Ketchup</option> <option>Barbecue</option> </select>
If you use a 1.6.3 or newer, you don't need to do anything else, as the data-api automatically picks up the <select>s with the selectpicker class.
If you use an older version, you need to add the following either at the bottom of the page (after the last selectpicker), or in a $(document).ready() block.
// To style only <select>s with the selectpicker class $('.selectpicker').selectpicker();
Or
// To style all <select>s $('select').selectpicker();
Checkout the documentation for further information.
CDN
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 for the latest release.
- //cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.6.5/css/bootstrap-select.min.css
- //cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.6.5/js/bootstrap-select.min.js
- //cdnjs.cloudflare.com/ajax/libs/bootstrap-select/1.6.5/js/i18n/defaults-*.min.js (The translation files)
Bugs and feature requests
Anyone and everyone is welcome to contribute. Please take a moment to review the guidelines for contributing. Make sure you're using the latest version of bootstrap-select before submitting an issue.
Copyright and license
Copyright (C) 2013-2015 bootstrap-select
Licensed under the MIT license.
统计信息
- 总下载量: 50
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-07-31