Izitoast

Simple wrapper around IZITOAST js notification plugin visit Authors website.

Installation

Add this line to your application's Gemfile:

gem 'izitoast'

And then execute:

$ bundle

Add this line to your application.js file:

//= require iziToast

Add this line to your application.scss (css):

@import "iziToast";

That's it. It works now

Usage

To test how it works, open your browser console and execute next command:

iziToast.success({
    title: 'Hey',
    message: "It's alive! Congratulations!"
});

You will see notification in the bottom-right corner of your browser.

To find more about usage options, please visit Authors website.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/BadAllOff/iziToast-rails. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.