handleClick method

  1. @HostListener('click')
void handleClick(
  1. MouseEvent mouseEvent
)

Implementation

@HostListener('click')
void handleClick(MouseEvent mouseEvent) {
  toggleChecked();
  mouseEvent.preventDefault();
  mouseEvent.stopPropagation();
}