bootstrap-sweetalert

WebJar for bootstrap-sweetalert

Лицензия

Лицензия

MIT
Группа

Группа

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

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

bootstrap-sweetalert
Последняя версия

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

1.0.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

bootstrap-sweetalert
WebJar for bootstrap-sweetalert
Ссылка на сайт

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

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

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

https://github.com/lipis/bootstrap-sweetalert

Скачать bootstrap-sweetalert

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

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

Зависимости

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

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

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

If you are looking for the non-Bootstrap version refer to the original SweetAlert project.

SweetAlert for Bootstrap

npm version Bower version Code Shelter

An awesome replacement for JavaScript's alert() made for Bootstrap.

Usage

On how to use these alerts, read the docs from the original SweetAlert project.

The main difference here is that instead of using the confirmButtonColor you should use the confirmButtonClass. It can take any of the default Bootstrap classes for buttons like: btn-danger, btn-success, etc. The rest of the API remains exactly the same.

Also if you are using Less in your project, then instead of including the *.css files include the sweet-alert.less in your building process. That way it will use the Bootstrap's variables to match your theme perfectly.

Development

$ npm install
$ grunt

Run tests

$ npm install
$ bower install
$ grunt test

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

Версия
1.0.1
1.0.0
0.4.5
0.4.3