select
Description
fires when a new option is selected in a comboParameters
- ev - (object) a CustomEvent object
Example
<script>
function handleSelect(ev) {
const newSelection = ev.detail;
console.log(newSelection);
//=>{selected:{id:97, name:'August Dvorak', email:'dvor.august@gmail.com', avatar:'august.jpg'}}
}
</script>
<Combo value={1} on:select={handleSelect}/>
Related article: Catching the change of the selected option