Coder Social home page Coder Social logo

chubchen / bootstrap-sweetalert Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lipis/bootstrap-sweetalert

0.0 2.0 0.0 1.43 MB

:cake: A beautiful "replacement" for JavaScript's alert

Home Page: https://lipis.github.io/bootstrap-sweetalert/

License: MIT License

CoffeeScript 2.43% CSS 23.86% JavaScript 49.72% HTML 23.98%

bootstrap-sweetalert's Introduction

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

SweetAlert for Bootstrap

npm version Bower version

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

bootstrap-sweetalert's People

Contributors

151dd avatar alekitto avatar alexkvazos avatar aristona avatar arthurvr avatar atefbb avatar bencromwell avatar brooksgarrett avatar carloscabral avatar chentsulin avatar connyay avatar danreeves avatar dasilvacontin avatar dpatou avatar ecwyne avatar epool avatar ginovva320 avatar glennvd avatar green-arrow avatar hfingler avatar holmesal avatar lipis avatar mkoczka avatar nixta avatar peterjosling avatar robertonovelo avatar sushantdhiman avatar t4t5 avatar topless avatar zzarcon avatar

Watchers

 avatar  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.