Javascript: ToolbarButton.hide Method
Description
Hides the complete toolbar item.
Syntax
<void> ToolbarButton.hide()Return Value
Hides the complete toolbar item.
Examples
The following example demonstrates toolbarbutton.hide in a practical Document Viewer workflow. Hides the button.
function hideApproveButton(toolbarButton) {
toolbarButton.hide();
console.log("Approve button: hide.");
}