Enhancement: Close Noty with Esc Button #103

probablyup opened this Issue Nov 2, 2012 · 1 comment


3 participants

Along with the other close options (click, hover, button, etc.) if you add the following code:

if ($.inArray('esc', self.options.closeWith) > -1)
        if( e.keyCode == 27 )

You can dismiss active Noty's by pressing the Esc keyboard key. Enjoy!

needim closed this Aug 28, 2013

Could this enhancement be resurrected and added? Noty alerts are the only popup modal windows in my application that cannot be closed using Esc.
If this is not possible, is there a reason why this cannot be added? Thanks! mario

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment