featureos-widget
v0.0.26
Published
featureOS Widgets is a library that allows you to easily integrate featureOS widgets into your web application.
Downloads
2,656
Readme
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()