@ttskch/select2-bootstrap4-theme

WebJar for @ttskch/select2-bootstrap4-theme

License

License

MIT
Categories

Categories

Github Development Tools Version Controls
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

github-com-ttskch-select2-bootstrap4-theme
Last Version

Last Version

1.0.4
Release Date

Release Date

Type

Type

jar
Description

Description

@ttskch/select2-bootstrap4-theme
WebJar for @ttskch/select2-bootstrap4-theme
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

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

Download github-com-ttskch-select2-bootstrap4-theme

How to add to project

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

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

select2-bootstrap4-theme

npm version npm downloads

Select2 v4 theme for Bootstrap4 (Compatible to boostrap 4.0.0+)

Live demo

👉 https://ttskch.github.io/select2-bootstrap4-theme/

Installation

$ npm install @ttskch/select2-bootstrap4-theme

Usage

<link rel="stylesheet" href="/path/to/select2.css">
<link rel="stylesheet" href="/path/to/select2-bootstrap4.css">
$('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 Requeest

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 watch
  4. Tweak scss and browse demo page on your browser

Versions

Version
1.0.4