Use DeBoxChatWidget
with HTML
- Need to use
NPM
npm install @debox-pro/chat-widget-html
- Use DeBoxChatWidget
Not Support SSR
import { DeBoxChatWidget } from '@debox-pro/chat-widget-html' // Singleton
DeBoxChatWidget.init({
projectId: string
conversationId?: string
zIndex?: string
containerDomId?: string
})
DeBoxChatWidget.destroy()
DeBoxChatWidget.setConversation(id?: string, open?: boolean)
DeBoxChatWidget.toggleChat(open?: boolean)
...