Selected Item Change Event
autocomplete.events.selectedItem
Clears results when a selection is updated.
events.selectedItem(scope, key, item)
Clears results when a selection is updated.
Parameters
-
scope
{can.Map}
The element scope.
-
key
{string}
The key name of the scope property.
-
item
{can.Map}
The value.