Skip to content
Simple wrapper around IZITOAST js notification plugin
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
lib
vendor/assets Version update Oct 7, 2018
.gitignore initial commit: izitoast v1.1.1 Jan 19, 2017
CODE_OF_CONDUCT.md initial commit: izitoast v1.1.1 Jan 19, 2017
Gemfile
LICENSE.txt initial commit: izitoast v1.1.1 Jan 19, 2017
README.md
Rakefile
izitoast.gemspec Fix: push host, readme file Jan 19, 2017

README.md

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.

You can’t perform that action at this time.