ngBootbox icon indicating copy to clipboard operation
ngBootbox copied to clipboard

No directive to close popup on pressing Escape key

Open Parthvora opened this issue 10 years ago • 1 comments

If I'm not wrong there is no such directive to close pop up on pressing Escape button. In these examples there are some popups which has ability to be closed by pressing Escape key wheres some hasn't: http://eriktufvesson.github.io/ngbootbox/

It would be good if there is something like ng-bootbox-on-escape with true or false value for such thing.

Parthvora avatar Dec 14 '15 09:12 Parthvora

Right now, there is only ng-bootbox-options directive. This directive mediates option object to bootbox.js library. If we want ng-bootbox-on-escape, I think we have to create ng-bootbox-* directives for all bootbox.js options.

What do you think @eriktufvesson ?

vlapo avatar Dec 16 '15 08:12 vlapo