pagetour-sdk.localrepository
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

pagetour-sdk.localrepository

npm

This is the local storage plugin for pagetour-sdk.

Install

npm install pagetour-sdk.localrepository

Usage

Import and initialize the repository.

import { LocalStorageRepository } from 'pagetour-sdk.localrepository';
...
this.repository = new LocalStorageRespository();

Pass it as a parameter while initializing the pagetour sdk.

Pagetour.init(this.repository, options);
this.pagetour = PageTour.GetInstance();

Documentation

Package Sidebar

Install

npm i pagetour-sdk.localrepository

Weekly Downloads

1

Version

2.1.0

License

MIT

Unpacked Size

19 kB

Total Files

5

Last publish

Collaborators

  • pratikgolchha
  • kartikkwatra
  • deepakparamesh