Answers for "angularjs on select option changes"

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 "angularjs on select option changes"

Code answers related to "Javascript"

Browse Popular Code Answers by Language