mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-02 03:57:52 +00:00
feat: Add the ability to close and reopen the chat window via SDK (#3080)
This commit is contained in:
@@ -40,8 +40,8 @@ const runSDK = ({ baseUrl, websiteToken }) => {
|
||||
launcherTitle: chatwootSettings.launcherTitle || '',
|
||||
showPopoutButton: chatwootSettings.showPopoutButton || false,
|
||||
|
||||
toggle() {
|
||||
IFrameHelper.events.toggleBubble();
|
||||
toggle(state) {
|
||||
IFrameHelper.events.toggleBubble(state);
|
||||
},
|
||||
|
||||
setUser(identifier, user) {
|
||||
|
||||
Reference in New Issue
Block a user