DS Server

Javascript: SubTextPartInfo.highlightMode Property

Property|Introduced in 26.0

Description

Optional. The highlight mode.

Syntax

<HighlightMode> SubTextPartInfo.highlightMode

Examples

The following example demonstrates SubTextPartInfo.highlightMode in a practical document-editing workflow. Optional. The highlight mode.

function inspectHighlightMode(subTextPartInfo) {
    const highlightMode = subTextPartInfo.highlightMode;
    console.log("highlight mode:", highlightMode);
}