@ttskch/select2-bootstrap4-theme

WebJar for @ttskch/select2-bootstrap4-theme

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

ttskch__select2-bootstrap4-theme
Последняя версия

Последняя версия

1.5.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

@ttskch/select2-bootstrap4-theme
WebJar for @ttskch/select2-bootstrap4-theme
Ссылка на сайт

Ссылка на сайт

https://www.webjars.org
Система контроля версий

Система контроля версий

https://github.com/ttskch/select2-bootstrap4-theme

Скачать ttskch__select2-bootstrap4-theme

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/ttskch__select2-bootstrap4-theme/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>ttskch__select2-bootstrap4-theme</artifactId>
    <version>1.5.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/ttskch__select2-bootstrap4-theme/
implementation 'org.webjars.npm:ttskch__select2-bootstrap4-theme:1.5.2'
// https://jarcasting.com/artifacts/org.webjars.npm/ttskch__select2-bootstrap4-theme/
implementation ("org.webjars.npm:ttskch__select2-bootstrap4-theme:1.5.2")
'org.webjars.npm:ttskch__select2-bootstrap4-theme:jar:1.5.2'
<dependency org="org.webjars.npm" name="ttskch__select2-bootstrap4-theme" rev="1.5.2">
  <artifact name="ttskch__select2-bootstrap4-theme" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='ttskch__select2-bootstrap4-theme', version='1.5.2')
)
libraryDependencies += "org.webjars.npm" % "ttskch__select2-bootstrap4-theme" % "1.5.2"
[org.webjars.npm/ttskch__select2-bootstrap4-theme "1.5.2"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

select2-bootstrap4-theme

npm version npm Packagist Version Packagist Downloads

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

  1. Fix src/_layout.scss, src/_single.scss or src/_multiple.scss
  2. Do npm run build:both
  3. Send me a Pull Request

You can use docs dir for your development.

  1. Do npm run prepare (this creates symlink to dist/select2-bootstrap4.css onto docs)
  2. Serve docs with your local web server (e.g. php -S localhost:8888 -t docs)
  3. Do npm run watch
  4. Tweak scss and browse demo page on your browser

Версии библиотеки

Версия
1.5.2
1.4.0
1.3.4
1.3.2
1.2.3
1.2.2
1.0.5