Good evening friends!
It's been a while that I search on the net a Vue.js directive that would allow me to close a modal when I press the key "Esc".
I tried full of directive like
@ keyup.esc =" closeModalLogin ",
@ keydown.esc =" closeModalLogin " etc ...
Do you have an idea ?
I'm using Tailwind CSS in my application