we are using Angular Material table for our app:
<mat-row *matRowDef="let row; columns: displayedColumns;"></mat-row>
could you please to show how to highlight a row on mouse hover?
angular-materialangular-material2
we are using Angular Material table for our app:
<mat-row *matRowDef="let row; columns: displayedColumns;"></mat-row>
could you please to show how to highlight a row on mouse hover?
Best Answer
Add some CSS with the
:hover
selector to themat-row
elements:StackBlitz demo