onMouseLeave method

  1. @HostListener('mouseleave')
void onMouseLeave()

Implementation

@HostListener('mouseleave')
void onMouseLeave() {
  _hasHover = false;
}