rails plugin for growl like no
Growlr
Give your rails apps growl based notifications. Basically a rails plugin wrapper for Stan's excellent jGrowl library. This is a nice alternative to static flash messages, plus it integrates with all flash messages automatically, no need to output flash messages in your view!
Requirements Jquery 1.2.6 Cookies should be enabled --it should be by default Installationrake growlr:install:all
include the following snippet in your layout or view file, preferably in the head section of your layout file.
<%= include_growlr %>
Usage
Growlr will automatically detect flash messages and display them accordingly. You can explicitly call Growlr by writing the following in your action or controller:
growl "hello peoples"
You can also pass the same options as the jgrowl plugin.
Todo's work on the yml processing for the config files - should have support for multiple configs in one yaml file write the functional specs Copyright Stuff jGrowl : http://stanlemon.net/projects/jgrowl.html版权声明:
1、该文章(资料)来源于互联网公开信息,我方只是对该内容做点评,所分享的下载地址为原作者公开地址。2、网站不提供资料下载,如需下载请到原作者页面进行下载。