@getsupertab/supertab-browser
TypeScript icon, indicating that this package has built-in type declarations

8.1.2 • Public • Published

supertab-browser

Supertab Browser SDK.

Installation

npm install @getsupertab/supertab-browser

Usage

The supertab-browser instance can be initialized in two ways:

1. Using window global variables

window.SupertabInit(options); // will be available as window.Supertab
console.log(await window.Supertab.getApiVersion()); // will print the version of the API

2. Using Supertab class

const client = new Supertab(options); // will return a Supertab instance
console.log(await client.getApiVersion()); // will print the version of the API

Readme

Keywords

none

Package Sidebar

Install

npm i @getsupertab/supertab-browser

Weekly Downloads

20

Version

8.1.2

License

none

Unpacked Size

20.8 MB

Total Files

38

Last publish

Collaborators

  • supertab-frontend