mouseover in angular code example
Example 1: mouseover angular 6
<div (mouseover)="changeText=true" (mouseout)="changeText=false">
<span *ngIf="!changeText">Hide</span>
<span *ngIf="changeText">Show</span>
</div>
Example 2: angular element onhover
<div
(mouseenter)="myMethod()"
(mousedown)="myMethod()"
(mouseup)="myMethod()"
></div>