Skip to main content

hideChatBubble()

This function does the opposite of showChatBubble. If the bubble is showing, then it hides it. If the bubble is not showing, this function does nothing. You can experiment with it by going to the dev sandbox and pressing the button "Show SDK" (to make sure it's visible) then pressing the button "Hide SDK". Here is the function API and some example usage:

/**
* Will hide the chat bubble from the bottom right corner of the page
*/
export const hideChatBubble = (): void;

// Example usage:
const someFunction = () => {
hideChatBubble();
}