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