ItemClick: function (sender, args)
sender. Event source.
args. Event information.
The ItemClick event occurs on clicking the heading of the Breadcrumb component item.
The event occurs on clicking heading of an item already added to the Breadcrumb component:
To execute the example, create the Breadcrumb component with a collection of children. Add event handlers.
bread.ItemClick.add(function (sender, args) {
alert("Item selected" + args.Item.getContent());
});
After executing the example, pressing the item heading shows the following message: Item <Item name> is selected.
See also: