vodkabears / Remodal

No longer actively maintained.
http://vodkabears.github.io/remodal/
MIT License
2.75k stars 771 forks source link

Change settings after open #244

Open ghost opened 8 years ago

ghost commented 8 years ago

I have a button in a modal, when that button is clicked, I'd like for the modal to no longer be closable. Right now I can only configure that before the modal is created. Is it possible to change these settings at runtime somehow? (closeOnEscape, closeOnOutsideClick, etc)

amatiash commented 8 years ago

You can do it..remodal() returns a Remodal object. There is a settings property which you can change.