Skip to content

onSelect

Evgenii Koriakin edited this page Jul 8, 2016 · 4 revisions

Summary

Fires when an item from the list is selected by the user.

Event data

item Object
The selected item.

Examples

Subscribes to onSelect event:

HTML:

<eq-combo-box #fabricsComboBox
    (onSelect)="select($event)">
</eq-combo-box>

TypeScript:

export class AppComponent {
    @ViewChild('fabricsComboBox') fabricsComboBox: EqwadComboBox;

    select(item: Object) {
        // Handle the event.
    }
}
Clone this wiki locally