Collapsed: function (sender, args)
sender. Event source.
args. Event information.
The Collapsed event occurs when minimizing 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 of the Collapsed event:
// Get the NavigatorRibbon component navRib = nav.getRibbonView(); // Add an event handler navRib.Collapsed.add(function () { alert("Tool ribbon is collapsed") });
After executing the example on collapsing the tool ribbon the "Tool ribbon is collapsed" message is displayed.
See also: