CategoryContentCollapsed: function (sender, args);
sender. Event source.
args. Event information.
The CategoryContentCollapsed event occurs on collapsing tab contents.
The tabs are collapsed on clicking the button at the top right corner of the application ribbon.
To execute the example, the HTML page must contain the application ribbon named ribbon (see Example of Creating the Ribbon Component) that contains at least one tab. Add a handler for the CategoryContentCollapsed event.
ribbon.CategoryContentCollapsed.add(function (sender, args)
{
ribbon.getItems()[0].setCaption("Collapsed")
});
After executing the example on collapsing the tab contents, heading of the first tab is changed to "Collapsed".
See also: