Javascript: TXTextControl.showSideBar Method
Description
Shows or hides a specified side bar.
Syntax
<void> TXTextControl.showSideBar(<SideBarType> sideBarType, [<boolean> show])Parameters
| Parameter | Description |
|---|---|
| sideBarType | Determines the side bar type. |
| show | Optional. Determines if the side bar is shown or hidden. The default value is true. |
Examples
The following example demonstrates TXTextControl.showSideBar in a practical document-editing workflow. Shows or hides a specified side bar.
TXTextControl.showSideBar(TXTextControl.SideBarType.TrackChanges, true);