Javascript: Annotations.showSidebar Method
Description
Shows or hides the comments sidebar.
Syntax
<void> Annotations.showSidebar(<boolean> show)Parameters
| Parameter | Description |
|---|---|
| show | `true` shows the comments sidebar; `false` hides it. |
Return Value
Shows or hides the comments sidebar.
Examples
The following example demonstrates annotations.showSidebar in a practical Document Viewer workflow. Shows or hides the sidebar that contains the comments.
TXDocumentViewer.annotations.showSidebar(true);
console.log("show sidebar requested.");