Breadcrumb.SelectedItemsChanged

Syntax

SelectedItemsChanged: function (sender, args)

Parameters

sender. Event source.

args. Event information.

Description

The SelectedItemsChanged event occurs on changing the list of items included into collection of selected items.

Comments

The collection of selected items changes on selecting an item from the drop-down list or from the history.

Example

To execute the example, create the Breadcrumb component with a collection of children. Add the SelectedItemsChanged event handler:

        bread.SelectedItemsChanged.add(function (sender, args) {

            var drop = bread.getItems().getItem(0)._DropForm;

            drop = new PP.Ui.DropPanel({ Content: "1" });

            drop.show(12, 12);

        });

After executing the example, on selecting an item from the drop-down menu or from the history, a drop-down panel is set for the first item of the collection.

See also:

Breadcrumb