onMouseLeave method

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

Implementation

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