v24
Handling new message
1
LViS.Curate.ON_NEW
Copied!
Fires when a new messages are received. Array of new messages are passed into the handler.

Example

1
$(curate).bind(LViS.Curate.ON_NEW, function (e, messages) {
2
// do your stuff here, e.g. update list of messages in DOM
3
});
Copied!
Last modified 2yr ago
Copy link
Contents
Example