featureos-widget
TypeScript icon, indicating that this package has built-in type declarations

0.0.28 • Public • Published

featureOS Widgets

featureOS Widgets is a library that allows you to easily integrate featureOS widgets into your web application.

Installation

npm install featureos-widget --save

Usage

import Widget from "featureos-widget"


const widget = new Widget({
  modules: ['feature_requests', 'changelog'],
  type: 'popover',
  openFrom: 'right',
  theme: 'dark',

  selector: '#trigger',
  token: 'GEdHL0YpM430Gc0Ch-Tr2w',
  
  onInitialized: () => {
    console.log('onInitialized')
  }
})

widget.init()

Readme

Keywords

none

Package Sidebar

Install

npm i featureos-widget

Weekly Downloads

520

Version

0.0.28

License

none

Unpacked Size

333 kB

Total Files

7

Last publish

Collaborators

  • varun-raj