@firstfeb/insmtemplateapi
v1.0.40
Published
Cross device template API for Instoremedia's software
Downloads
13
Readme
INSM Template API
Cross device template API for Instoremedia's software
Features
- Support for Android and PC players
Installing
Using npm:
$ npm install @firstfeb/insmtemplateapi
Example
import insmApi from '@firstfeb/insmtemplateapi';
insmApi.onUpdate((data) => {
// Use data to render template
console.log(data);
});
You will need to set
window.insmTemplateAPI
like this so it's accessible
if(typeof insmTemplateDataSet === 'undefined') {
insmTemplateDataSet = {};
}
window.insmTemplateAPI = insmTemplateDataSet;
Copyright
Copyright (c) 2019-present First Feb AB
Licence
No licence available. Do not use without the permission of the author.