DS Server

Javascript: ToolbarButton.enable Method

Method|Introduced in 32.4.1

Description

Enables interaction with the toolbar button.

Syntax

<void> ToolbarButton.enable()

Return Value

Enables interaction with the toolbar button.

Examples

The following example demonstrates toolbarbutton.enable in a practical Document Viewer workflow. Enables the button.

function enableApproveButton(toolbarButton) {
    toolbarButton.enable();
    console.log("Approve button: enable.");
}