1.0.0-alpha • Published 6 years ago

@stelter/igxwebapi v1.0.0-alpha

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

A client-side wrapper to the IGX Web API

Not fully complete

Example Initialization

    // IIFE Async Await
        (async () =>
            window.placeholderVariable = await window.IGXWebAPI.initializeServices('https://yourURL.com','username','password')
        )()

    // Alternative using Promise
        new Promise((resolve,reject) => 
            resolve(window.IGXWebAPI.initializeServices('https://yourURL.com','username','password'))
            ||
            reject(Error('something went wrong'))
        ).then(response => window.alternative = response)