SelectedItemsChanged: function (sender, args)
sender. Event source.
args. Event information.
The SelectedItemsChanged event occurs on changing the list of items included into collection of selected items.
The collection of selected items changes on selecting an item from the drop-down list or from the history.
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: