flash-message

2.0.1 • Public • Published

Flash Message Plugin

A tiny jQuery plugin to show flash messages

This is a modified version of jquery-flash, originally created by Joel Moss.

Usage

Simply call the following to show a flash message with the text "This is my message":

$.flash('This is my message');

If you have Firefox and Firebug installed, or some other quality browser that has a javascript command line, try running the above line of code to see the flash in action.

Or you can call it on an element, where the flash message will be populated from the contents of the element:

$('#my-element').flash();

Installation

npm install flash-message

Dependents (0)

Package Sidebar

Install

npm i flash-message

Weekly Downloads

61

Version

2.0.1

License

unknown

Last publish

Collaborators

  • annavo
  • widen-npm
  • feltnerm
  • molcikas