Emisael
Member since Oct 5, 2016
- Profile: /members/13323-emisael.htm
- Comments: 3
Recent Blog Comments By Emisael
-
Creating A Simple Modal System In AngularJS
Posted on Dec 20, 2016 at 3:17 PM
Thanks @Clandher, you gave me the idea, I added it at the end of open() method in Modals Service : $("body").keydown(function(e){ if(e.keyCode === 27){ reject(); } });... read more »
-
Creating A Simple Modal System In AngularJS
Posted on Oct 5, 2016 at 9:24 PM
How could I do for the directive to close the modal when 'escape' key is pressed? I've tried with: element.on( "keydown keypress keyup", function handleKeyPressEvent( event ) { if ( event.keyCode !== 27 ) { return; } sco... read more »
-
Creating A Simple Modal System In AngularJS
Posted on Oct 5, 2016 at 9:18 PM
Thanks Ben, very well explained and easy to learn. I have about 3 days trying to implement the Bootstrap modal, but, the modal gets loaded with the whole page view, the whole <html>...</html> I've tried multiple versions with some libraries such as: ui.bootstrap, angular-confirm, angu... read more »