Expanded: function (sender, args)
sender. Event source.
args. Event information.
The Expanded event occurs on expanding the tool ribbon.
To execute the example, the HTML page must contain the Navigator component named nav (see Example of Creating the Navigator Component). Add a handler for the Expanded event:
// Get the NavigatorRibbon component
navRib = nav.getRibbonView();
// Add an event handler
navRib.Expanded.add(function () { alert("Tool ribbon is expanded") });
After executing the example on expanding the tool ribbon the "Tool ribbon is expanded" message is displayed.
See also: