stopAnimation();
The stopAnimation method stops animation in the side panel.
To execute the example, the page must contain the NavigationBar component named navigationBar (see Example of Creating the NavigationBar Component). Expand the second panel element and stop animation in the side panel:
// Expand the second element navigationBar.getLayoutItems()[1].expand(); // Stop animation in the side panel navigationBar.stopAnimation();
As a result the element is expanded without animation.
See also: