on hover event angular 10 code example Example: angular 11 on hover <div (mouseover)="changeText=true" (mouseout)="changeText=false">