stere-insurance-sdk
TypeScript icon, indicating that this package has built-in type declarations

0.2.15 • Public • Published

stere-insurance-sdk

This package provides utilities for creating embedded insurance UI

Steps to use the Iframe solution :

  1. Create a container
    with a unique id attribute to contain the <iframe> element. (parentContainerId)
  2. Choose a unique id to identify the <iframe> element. (iframeId)
  3. Create the config object. (clientConfig)
  4. Import the "createIframe" method from our package.
  5. Invoke this method with 3 mandatory parameters (parentContainerId, iframeId, clientConfig)
  6. If you want to apply some styles to the <iframe> element, create a css class for it and send the name of the class. (iframeStylesClassName) Please note this is an optional property.
  7. If you have followed the steps correctly, you should now see the iframe loaded on the page.

    Installation

    npm install stere-insturance-sdk

    Publishing to NPM

    1. Get your npm account added to org
    2. git clone https://github.com/stere-io/stere-insurance-sdk
    3. git pull
    4. npm login
    5. npm run build
    6. npm run prepublish
    7. npm publish

Readme

Keywords

Package Sidebar

Install

npm i stere-insurance-sdk

Weekly Downloads

100

Version

0.2.15

License

ISC

Unpacked Size

529 kB

Total Files

8

Last publish

Collaborators

  • nandha-stere
  • shubham-rajodiya-npm
  • luv7400