ItemSortClick: function (sender, args)
sender. Event source.
args. Event information.
The ItemSortClick event occurs on pressing the Sort button.
To execute the example, create the Breadcrumb component with a collection of children. Add the ItemSortClick event handler:
bread.ItemSortClick.add(function (sender, args) {
items = bread.getItems();
for (var i = 0; i < items.getCount(); i++) {
items.getItem(i)._SortButton.setToolTip("Sort")
}
});
After executing the example, clicking the button for any item adds the Sort tooltip for all Sort buttons.
See also: