@firstfeb/insmtemplateapi

1.0.40 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @firstfeb/insmtemplateapi

Weekly Downloads

42

Version

1.0.40

License

First Feb Licence

Unpacked Size

5.62 kB

Total Files

4

Last publish

Collaborators

  • tobias.rahm