1.5.2 ā¢ Published 3 years ago
@ttskch/select2-bootstrap4-theme v1.5.2
select2-bootstrap4-theme
Select2 v4 theme for Bootstrap4 (Compatible to boostrap 4.0.0+)
Live demo
š https://ttskch.github.io/select2-bootstrap4-theme/
Installation
CDN
<link rel="stylesheet" href="/path/to/select2.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@ttskch/select2-bootstrap4-theme@x.x.x/dist/select2-bootstrap4.min.css">
Manually
# npm
$ npm install @ttskch/select2-bootstrap4-theme
# yarn
$ yarn add @ttskch/select2-bootstrap4-theme
# composer
$ composer require ttskch/select2-bootstrap4-theme
<link rel="stylesheet" href="/path/to/select2.css">
<link rel="stylesheet" href="/path/to/select2-bootstrap4.min.css">
Usage
$('select').select2({
theme: 'bootstrap4',
});
Getting involved
- Fix src/_layout.scss, src/_single.scss or src/_multiple.scss
- Do
npm run build:both
- Send me a Pull Request
You can use docs dir for your development.
- Do
npm run prepare
(this creates symlink todist/select2-bootstrap4.css
ontodocs
) - Serve
docs
with your local web server (e.g.php -S localhost:8888 -t docs
) - Do
npm run watch
- Tweak scss and browse demo page on your browser
1.5.2
3 years ago
1.5.1
3 years ago
1.5.0
3 years ago
1.3.7
3 years ago
1.3.6
3 years ago
1.3.5
3 years ago
1.3.4
4 years ago
1.3.3
4 years ago
1.4.0
4 years ago
1.3.2
5 years ago
1.3.1
5 years ago
1.3.0
5 years ago
1.2.3
5 years ago
1.2.2
5 years ago
1.2.1
5 years ago
1.2.0
5 years ago
1.1.3
5 years ago
1.1.2
5 years ago
1.1.1
5 years ago
1.1.0
5 years ago
1.0.5
5 years ago
1.0.4
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago