0

How we know esc key press in onExist() event in introJS + Angular 2+. I have tried many way like get key press key using hostlistner but hostlistner call after onExist() event call but no luck.

On esc key press, then onExit() method call and inside that method i am calling showSnoozeDialog() method which is used for opening primeng modal, that time dialogRef.onClose.subscribe method also executing (that should not be execute), so modal is open a while and close it, i want to open that modal.

enter image description here

Jasper de Vries
  • 19,370
  • 6
  • 64
  • 102
Laxman
  • 3
  • 2

0 Answers0