jGrowl Rails is a gem that tha
jQuery jGrowl is a jQuery plugin that raises unobtrusive messages within the browser, similar to the way that OS X's Growl Framework works. The idea is simple, deliver notifications to the end user in a noticeable way that doesn't obstruct the work flow and yet keeps the user informed.
The j_growl_rails
gem integrates the JGrowl
with the Rails asset pipeline.
Include j_growl_rails
in Gemefile
gem 'j_growl_rails'
Then run bundle install
Add to your app/assets/javascripts/application.js
if use with jQuery
//= require j_growl_rails/jquery.jgrowl
Include JGrowl stylesheet assets
Add to your app/assets/stylesheets/application.css
//= require j_growl_rails/jquery.jgrowl
Dependencies
jquery >= 1.4
rails >= 4.1.1
Contributing to j_growl_rails
Fork, fix, then send me a pull request.
LicenseMIT
版权声明:
1、该文章(资料)来源于互联网公开信息,我方只是对该内容做点评,所分享的下载地址为原作者公开地址。2、网站不提供资料下载,如需下载请到原作者页面进行下载。