Simple chat plugin for your web-apps.
bower install chat.js
or
npm install chat.js
or simply use the cdn.
Note: chat.js supports AMD module pattern.
Initialise the library after the HTML document(optionally the content) has been loaded
window.onload = function () {
var chat = chatMessenger.init()
}
Display incoming messages with
chat.recieve('Hello there!');
More documentation coming soon.
chat.js works on all modern browsers.
- Firefox 41.0.2+
- Chrome 46.0.2+
- Safari 5.1.7+
- Internet Explorer 11+
Interested in contributing features and fixes?
Copyright (c) 2015 Nalin Chhibber Licensed under the MIT license.