Neverending Package Mountain

    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

    Install

    npm i flash-message

    DownloadsWeekly Downloads

    1

    Version

    2.0.1

    License

    unknown

    Last publish

    Collaborators

    • widen-npm
    • feltnerm
    • mskelton
    • molcikas