@debox-pro/chat-widget-html
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

@debox-pro/chat-widget-html

Use DeBoxChatWidget with HTML

Getting Started

  1. Need to use NPM
npm install @debox-pro/chat-widget-html
  1. Use DeBoxChatWidget

Not Support SSR

init

import { DeBoxChatWidget } from '@debox-pro/chat-widget-html' // Singleton

DeBoxChatWidget.init({
  projectId: string
  conversationId?: string
  zIndex?: string
  containerDomId?: string
})

destroy

DeBoxChatWidget.destroy()

setConversation

DeBoxChatWidget.setConversation(id?: string, open?: boolean)

toggleChat

DeBoxChatWidget.toggleChat(open?: boolean)

Examples

...

Package Sidebar

Install

npm i @debox-pro/chat-widget-html

Homepage

debox.pro/

Weekly Downloads

25

Version

0.0.3

License

LGPL 2.1

Unpacked Size

141 kB

Total Files

9

Last publish

Collaborators

  • debox-pro