# Javascript: TXTextControl.sideBarToggleButton Property

> The sidebar toggle button shown at the top right of the ribbon.

- **Product:** DS Server
- **Section:** Reference
- **Kind:** Property
- **Introduced:** 30.0
- **Path:** DS Server > Reference > JavaScript API > Javascript: TXTextControl.sideBarToggleButton Property
- **150 words**
- **Web URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/sidebartogglebutton-property/
- **LLMs URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/sidebartogglebutton-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/sidebartogglebutton-property/llms-full.txt

---

### Description

The sidebar toggle button shown at the top right of the ribbon.

### Syntax

```javascript
<SideBarToggleButton> TXTextControl.sideBarToggleButton
```

### Examples

The following example demonstrates `TXTextControl.sideBarToggleButton` in a practical document-editing workflow. The sidebar toggle button shown at the top right of the ribbon.

```javascript
const sideBarToggleButton = tXTextControl.sideBarToggleButton;
console.log("side bar toggle button:", sideBarToggleButton);
```

### Limitations

Read Only.

---

## Nearby

- **Previous:** [Javascript: TXTextControl.showVerticalRuler Method](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/showverticalruler-method/llms-full.txt)
- **Next:** [Javascript: TXTextControl.SideBarType Enumeration](https://docs.textcontrol.com/ds-server/reference/javascript/txtextcontrol/sidebartype-enumeration/llms-full.txt)
