AppBox.ModuleHeight

Syntax

ModuleHeight: Number;

Description

The ModuleHeight property sets height of Foresight Analytics Platform web application container.

Comments

Use the setModuleHeight method to set the property value, and the getModuleHeight method to get the property value. Property value cannot be set from JSON.

The breadcrumb may looks as follows:

Example

Executing the example requires an opened page of express report in Foresight Analytics Platform web application. The scenario specified below must be executed in the browser console.

Hide the breadcrumb, display value of application container height and identifier of application container panel in the browser console:

// Get application container
var appBox = PP.App.getAppBox();
// Hide breadcrumb
appBox.setShowAddressBar(false);
// Display application container height 
console.log("Application container height: " + appBox.getModuleHeight());
// Display application container panel identifier
console.log("Application container panel identifier: " + appBox.getModuleContainer().getId());

After executing the example the application breadcrumb is hidden:

Also, the browser console displays value of application container height and identifier of application container panel:

Application container height: 651

Identifier of application container panel: Panel88

See also:

AppBox