NavigationBar.getMaxAreaHeight

Syntax

getMaxAreaHeight();

Description

The getMaxAreaHeight method returns the maximum height of side panel.

Example

To execute the example, the page must contain the NavigationBar component named navigationBar (see Example of Creating the NavigationBar Component). Get the maximum height of side panel area:

// Get the maximum height of side panel area
console.log("Maximum height of side panel area: " + navigationBar.getMaxAreaHeight());

As a result the console displays the maximum height of side panel area:

Maximum height of side panel area: 420

See also:

NavigationBar