Javascript: ToolbarButton.disable Method
Description
Disables interaction with the toolbar button.
Syntax
<void> ToolbarButton.disable()Return Value
Disables interaction with the toolbar button.
Examples
The following example demonstrates toolbarbutton.disable in a practical Document Viewer workflow. Disables the button.
function disableApproveButton(toolbarButton) {
toolbarButton.disable();
console.log("Approve button: disable.");
}