NavigatorBar.isUpdating

Syntax

isUpdating();

Description

The isUpdating method determines whether the side panel is currently updating.

Comments

The method returns True if the side panel is currently updating, otherwise it returns False.

Example

To execute the example, the page must contain the NavigationBar component named NB (see Example of Creating the NavigationBar Component). Check if the side panel is currently updating:

// Set indication that the panel is updating
NB.beginUpdate();
if (NB.isUpdating()) {
    console.log("Side panel is updating");
} else {
    console.log("Side panel is currently not updating");
};
// Remove the indication of the side panel update
NB.endUpdate();

After executing the example the browser console displays a message that the side panel is updating.

See also:

NavigatorBar