bootstrap-sweetalert

WebJar for bootstrap-sweetalert

License

License

MIT
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

bootstrap-sweetalert
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

bootstrap-sweetalert
WebJar for bootstrap-sweetalert
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

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

Download bootstrap-sweetalert

How to add to project

<!-- 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"]

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.

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

Versions

Version
1.0.1
1.0.0
0.4.5
0.4.3