GxTitle.getTranslateDialog

Syntax

getTranslateDialog();

Description

The getTranslateDialog method returns a dialog for title text translation.

Comments

Returned value - instance of the PP.Mb.Ui.TranslateDialog class.

Example

To execute the example, the HTML page must contain the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). To show the title, click the Title button on the Home tab. Display a dialog box for title text translation:

// Get title
var title = expressBox.getDataView().getTitleView();
// Set window activity
title.getTranslateDialog().setEnabled(true);
// Display text translation dialog box title.getTranslateDialog().show();

As a result the dialog box for title text translation is displayed:

See also:

GxTitle