Breadcrumb.ItemClick

Syntax

ItemClick: function (sender, args)

Parameters

sender. Event source.

args. Event information.

Description

The ItemClick event occurs on clicking the heading of the Breadcrumb component item.

Comments

The event occurs on clicking heading of an item already added to the Breadcrumb component:

Example

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:

Breadcrumb