Chatbase home pagelight logodark logo
  • Support
  • Dashboard
  • Dashboard
Javascript SDK
Control Widget
User Guides
Integrations
Developer Guides
FAQ
Javascript SDK
  • Identity Verification
  • Chatbot Event Listeners
  • Client-Side Custom Actions
  • Control Widget
  • Custom Initial Messages
API
  • Contacts
  • Create a chatbot
  • Get chatbots
  • Update a chatbot
  • Delete a chatbot
  • Upload chatbot icon
  • Delete chatbot icon
  • Upload chatbot profile picture
  • Delete chatbot profile picture
  • Update chatbot settings
  • Message a chatbot
  • Streaming messages
  • Get conversations
  • Get leads
  • Webhooks
Javascript SDK

Control Widget

​
Overview

You can dynamically open/close the widget using the open and close methods.

window.chatbase.open(); // opens the widget
window.chatbase.close(); // closes the widget
Client-Side Custom ActionsCustom Initial Messages
xlinkedin
Powered by Mintlify
On this page
  • Overview