DS Server

Javascript: TXTextControl.showRibbonBar Method

Method

Description

Shows or hides the ribbon bar.

Syntax

<void> TXTextControl.showRibbonBar([<boolean> show])

Parameters

ParameterDescription
show

Optional. Determines if the ribbon bar is shown or hidden. The default value is true.

Examples

The following example demonstrates TXTextControl.showRibbonBar in a practical document-editing workflow. Shows or hides the ribbon bar.

TXTextControl.showRibbonBar(true);