Answers for "select changefunction angular"

1

angular select change

<select (change)="onChange($event.target.value)">
    <option *ngFor="let i of devices">{{i}}</option>
</select>

onChange(deviceValue) {
    console.log(deviceValue);
}
Posted by: Guest on August-21-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language