Skip to content

Simple plugin that takes copy and displays fake text message

License

Notifications You must be signed in to change notification settings

travoltron/jquery-imessage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jquery-imessage

Simple plugin that takes copy and displays fake text message

To use, make sure jQuery is loaded, include the jquery-imessage.js after.

In your HTML include: <div id="iMessage"></div>

And the js file should look like:

$(function() {
    $('#iMessage').iMessage({
        'sender': 'CHANGE ME'
    }, [{
        'direction': 'from',
        'message': 'this is a message'
    }, {
        'direction': 'from',
        'message': 'this is a message'
    }, {
        'direction': 'to',
        'message': 'this is a message'
    }, {
        'direction': 'to',
        'message': 'this is a message'
    }, {
        'direction': 'from',
        'message': 'this is a message'
    }, ]);
});

About

Simple plugin that takes copy and displays fake text message

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages