DS Server

Javascript: ToolbarButton.image Property

Property

Description

URL assigned to the button image.

Syntax

<string> ToolbarButton.image

Examples

The following example demonstrates toolbarbutton.image in a practical Document Viewer workflow. Sets the button's image URL.

function configureApproveButton(toolbarButton) {
    toolbarButton.image = "/images/approve.svg";
    console.log("Approve button image:", toolbarButton.image);
}