@stelter/igxwebapi
v1.0.0-alpha
Published
A client-side wrapper to the IGX Web API
Downloads
4
Readme
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)