Closed luansemensato closed 9 years ago
Hi luansemensatoribeiro, Thank you for your post.
Do you want to make the modal stay opening when those events are fired?
Does the plainmodalbeforeclose
event help you?
$('#modal').on('plainmodalbeforeclose', function(e) { e.preventDefault(); });
https://github.com/anseki/jquery-plainmodal#plainmodalbeforeclose
Hi @anseki.
With the modal already open, I need to block the closure from the esc key, and clicking outside the content (black overlay).
Will only be possible through the close button ($. closeOverlay ();
).
Yes, of course those you needed are granted.
If the plainmodalbeforeclose
has a problem, please tell me it.
Before, I didn't add those options, and I added those events that is useful and free customizable, because the programers who use plainModal should be able to decide what is disabled or not.
Then, you can customize the behavior freely like #2.
There is no reply, and 8 days have passed. I think that this problem was already solved, and I close the issue. If not solved, please reopen it.