> For the complete documentation index, see [llms.txt](https://help.buraq.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.buraq.ai/chatbot-customization/js-functions-to-show_hide.md).

# JS functions to show\_hide&#x20;

#### Display/Opening the chat widget <a href="#display-opening-the-chat-widget" id="display-opening-the-chat-widget"></a>

You can use the following snippet to hide the chat widget;

```
bq.showbot();
```

#### Hiding/Minimising the chat widget <a href="#hiding-minimising-the-chat-widget" id="hiding-minimising-the-chat-widget"></a>

You can use the following snippet to hide the chat widget;

```
bq.hidebot();
```
