Answers for "set select option change of another div angular 8"

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 "set select option change of another div angular 8"

Code answers related to "Javascript"

Browse Popular Code Answers by Language