Breadcrumb.ItemSortClick

Syntax

ItemSortClick: function (sender, args)

Parameters

sender. Event source.

args. Event information.

Description

The ItemSortClick event occurs on pressing the Sort button.

Example

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:

Breadcrumb