oneboard-widget
v1.0.1
Published
OneBoard widget
Downloads
1
Readme
Getting Started
npm install oneboard-widget
OR
yarn add oneboard-widget
Usage
Import npm / yarn
import OneBoard from 'oneboard-widget';
const oneBoardInstance = new OneBoard({ appPublicKey: 'xxxxx'});
Import self-host / cdn
<script src="build/index.js"></script>
const OneBoard = window.OneBoard.default;
const oneBoardInstance = new OneBoard({ appPublicKey: 'xxxxx'});
Open OnBoarding Modal
oneBoardInstance.openOnBoardingModal();
Render OnBoarding View
oneBoardInstance.renderOnBoardingView(<CSSSelector or Element>);