Answers for "click event using mat-select"

1

mat-select change event

<mat-select  (selectionChange)="onBookChange($event)">
  ------
</mat-select>
Posted by: Guest on July-01-2021
2

mat select on select

<mat-form-field>
    <mat-select placeholder="State" (selectionChange)="someMethod($event.value)">
        <mat-option *ngFor="let state of states" [value]="state.value">
            {{ state.viewValue }}
        </mat-option>
    </mat-select>
</mat-form-field>
Posted by: Guest on April-30-2020

Code answers related to "TypeScript"

Browse Popular Code Answers by Language