@ohbug/extension-feedback
TypeScript icon, indicating that this package has built-in type declarations

0.7.3 • Public • Published
Ohbug

An open source application information monitoring platform.

@ohbug/extension-feedback

npm npm bundle size

Ohbug extension to collect user feedback

Installation

pnpm i @ohbug/extension-feedback

Usage

import Ohbug from '@ohbug/browser'
import OhbugExtensionFeedback from '@ohbug/extension-feedback'

const client = Ohbug.setup({ apiKey: 'YOUR_API_KEY' })
client.use(OhbugExtensionFeedback())

Parameters

target?: HTMLElement

You can customize the dom element to which the feedback popup is mounted, by default it will be mounted in the body.

example:

import Ohbug from '@ohbug/browser'
import OhbugExtensionFeedback from '@ohbug/extension-feedback'

const client = Ohbug.setup({ apiKey: 'YOUR_API_KEY' })
client.use(OhbugExtensionFeedback(document.querySelector('#xxx')))

Dependencies (3)

Dev Dependencies (6)

Package Sidebar

Install

npm i @ohbug/extension-feedback

Weekly Downloads

0

Version

0.7.3

License

MIT

Unpacked Size

76.9 kB

Total Files

15

Last publish

Collaborators

  • yuebanla