Javascript: DocumentViewerController.toggleSidebar Method
Description
Toggles the left sidebar.
Syntax
<void> DocumentViewerController.toggleSidebar()Return Value
This method does not return a value.
Examples
The following example demonstrates TXDocumentViewer.toggleSidebar in a practical Document Viewer workflow. Toggles the display of the document thumbnail sidebar of the DocumentViewer.
TXDocumentViewer.toggleSidebar();
console.log("toggle sidebar requested.");