on hover event angular 7 code example
Example 1: angular 11 on hover
<div (mouseover)="changeText=true" (mouseout)="changeText=false">
Example 2: angular 11 on hover
<span *ngIf="!changeText">Hide</span>
<div (mouseover)="changeText=true" (mouseout)="changeText=false">
<span *ngIf="!changeText">Hide</span>