Skip to content

kodius/sweetalert2-rails

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SweetAlert2

Rails Gem for SweetAlert2

If there are any issues, post them here. I am very active on GitHub.

Installation

Add this line to your application's Gemfile:

gem 'sweetalert2'

And then execute:

$ bundle

Or install it yourself as:

$ gem install sweetalert2

Usage

Just like this:

application.js:

//= require sweetalert2

application.css:

 *= require sweetalert2

Contributing

  1. Fork it ( http://github.com/KMontag42/sweetalert2-rails/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Packages

No packages published

Languages

  • Ruby 93.7%
  • CSS 3.2%
  • JavaScript 3.1%