Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kmontag42/sweetalert2-rails
Rails Gem for SweetAlert2
https://github.com/kmontag42/sweetalert2-rails
Last synced: about 2 months ago
JSON representation
Rails Gem for SweetAlert2
- Host: GitHub
- URL: https://github.com/kmontag42/sweetalert2-rails
- Owner: KMontag42
- License: mit
- Created: 2015-01-12T16:26:14.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2019-05-31T09:44:09.000Z (over 5 years ago)
- Last Synced: 2024-10-14T08:26:00.998Z (2 months ago)
- Language: Ruby
- Size: 44.9 KB
- Stars: 4
- Watchers: 3
- Forks: 11
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# SweetAlert2
Rails Gem for [SweetAlert2](https://github.com/limonte/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