GxTitle.Visible

Syntax

Visible: Boolean

Description

The Visible property determines title visibility.

Comments

Available values:

Use JSON or the setVisible method to set the property value and the getVisible method to get the property value.

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. Check if title is visible:

// Get title
var title = expressBox.getDataView().getTitleView();
// Check if title is visible
if (title.getVisible()) {
    console.log("Title is displayed");
} else {
    console.log("Title is not displayed");
}

As a result the console displays the result of check if title text is visible:

Title is displayed

See also:

GxTitle