haubek/bootstrap4c-chosen
最新稳定版本:1.1.1
Composer 安装命令:
composer require haubek/bootstrap4c-chosen
包简介
Bootstrap 4 Component - Chosen
README 文档
README
chosen
This is a Fork of alxlit's great stylesheet (https://github.com/alxlit/bootstrap-chosen).
The Bootstrap4C Chosen is a simple Bootstrap 4 styled component for the brilliant Harvest Chosen jQuery plugin (https://github.com/harvesthq/chosen). The component change the default bitmap icons into nice SVG and works better with the Bootstrap 4 variables.
See demo here => https://haubek.github.io
NPM install
npm install bootstrap4c-chosen
CSS
<link href="path/to/component-chosen.min.css" rel="stylesheet">
HTML5 markup
<select id="single" class="form-control form-control-chosen" data-placeholder="Please select...">
<option></option>
<option>Option One</option>
<option>Option Two</option>
<option>Option Three</option>
</select>
<select id="multiple" class="form-control form-control-chosen" data-placeholder="Please select..." multiple>
<option></option>
<option>Option One</option>
<option>Option Two</option>
<option>Option Three</option>
</select>
Javascript
$('.form-control-chosen').chosen();
统计信息
- 总下载量: 74.3k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 81
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-08-09