I'm trying to use tabs from angular material (https://material.angular.io/components/tabs/api)
Doc specifies that there is an isActive property but I don't know how to use it, how do I change my image (when the tab is active) what am I doing wrong in my exemple?
<mat-tab label="all" isActive="iconAllOn=true">
<ng-template mat-tab-label>
<div (mouseover)="iconAllOn=true" (mouseout)="iconAllOn=false">
<img class="logoNavBar" *ngIf="!iconAllOn" [src]="imagePathAllOff">
<img class="logoNavBar" *ngIf="iconAllOn" [src]="imagePathAllOn">
</div>
</ng-template>
Content 1
</mat-tab>