Giter VIP home page Giter VIP logo

bootstrap-sweetalert's Introduction

Attention! This project is currently little bit behind the original SweetAlert. If anyone is brave enough to to successfully sync it, the community would be entirely greatufl.


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

SweetAlert for Bootstrap

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

bootstrap-sweetalert's People

Contributors

alexkvazos avatar bencromwell avatar brooksgarrett avatar connyay avatar gaugejosh avatar ginovva320 avatar green-arrow avatar hfingler avatar holmesal avatar jeffutter avatar khsheehan avatar lipis avatar migig avatar mizterp avatar mkoczka avatar nixta avatar peterkos avatar rjdewberry avatar sgtlambda avatar t4t5 avatar theodorejb avatar tmcneal avatar tomafc330 avatar topless avatar xming13 avatar zzarcon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.