Detect ESC key to hide a section on the page (right slider)

0
Hey All, Is there any simple way to detect user click on ESC and trigger a nanoflow to hide a right slider on the page?   Thanks for your help !
asked
2 answers
1

When a popup is opened, this will be closed when you hit ESC.

However if you have something custom, you can add some javascript to your page to check if a key, in this case ESC, is pushed and do something with this.

This widget can also be used to take care of that logic:

Mendix Marketplace - Keyboard Shortcut

Hope this helps!

answered
0

Hi EL OUAFI Omar,

As suggested by Johan Munneke, you can use Mendix Marketplace - Keyboard Shortcut to achieve the requirement and call nanoflow.

 

Please check below screenshots for configuring.

 

answered