A JavaScript library for communication with Collaboration via WIService
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
demo
dist
docs
src
.eslintignore
.eslintrc.js
.gitignore
.jsdoc.js
.jshintignore
.jshintrc
.travis.yml
LICENSE
README.md
package.json
webpack.config.js

README.md

IntegrationService

Build Status

A JavaScript library for communication with Collaboration via WIService

Based on the Backbone library

Quick start

var WIService = new Wildix.IntegrationService({
    name: "MySomeApplication",
    version: '1.0.0'
});

WIService.Roster.on('all', function(eventName, userOrCollection, b, c){
    // when the Roster plugin generates any event
    console.log('Roster event:', eventName, userOrCollection, b, c);
});

WIService.Telephony.on('all', function(eventName, callOrCollection, b, c){
    // when the Telephony plugin generates any event
    console.log('Telephony event:', eventName, callOrCollection, b, c);
});

WIService.Roster.subscribe();
WIService.Telephony.subscribe();

Links