> For the complete documentation index, see [llms.txt](https://support.closer.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.closer.app/guide/getting-deeper/manage-widget-button.md).

# Manage widget button

**showButton (optional)** -  `boolean`(default: true) Setting it to false will hide the widget button. If widget was initialized & open in the previous browser context, this flag will be overwritten to `true`.

```javascript
closer.init({
    orgId: "00000000-0000-0000-0000-000000000000",
    showButton: false
});
```

**closer.hideButton()** - After widget initialization you can call this to hide the widget button.

**closer.showButton()** - After widget initialization you can call this to show the widget button.

**closer.openWidget()** - After widget initialization you can call this to open the widget, opening the widget will also show the main button.

**Notice** - Every event which opens the widget, will also show the main button.
