weaver-sdk-angular

1.0.0-beta.1 • Public • Published

Weaver SDK for AngularJS


NPM version NPM downloads

NPM info

Install

Bower

$ bower install weaver-sdk-angular --save

NPM

$ npm install weaver-sdk-angular --save

Usage

This module exposes the Weaver object as a provider, providing a safe way of loading the Weaver SDK in Angular.

Including it in your project

To include the SDK in your project take a look at the example below:

angular.module('myApp', [
    'weaver.sdk', /* or require('weaver-sdk-angular') */
    'myApp.MyCtrl'
])
.controller('MyCtrl', function(weaver) {
    // You can now use the weaver instance here...
    // For example: weaver.connect('someurl');
});

Read the documentation of the Weaver SDK JavaScript for more info on how to use the weaver instance.

Readme

Keywords

none

Package Sidebar

Install

npm i weaver-sdk-angular

Weekly Downloads

6

Version

1.0.0-beta.1

License

GPL-3.0

Last publish

Collaborators

  • gielert
  • sysunite