Open srogier opened 8 years ago
Hi! any news about this PR ?
+1
There are scenarios where you don't want it to fire (to only invoke on certain pages, for example), which I've done using an If statement wrapping around the ouibounce call, but this would be a neater solution.
+1 That's also what we need! I also had a fix for this but this solutions seems even better to me :)
any news?
An alternate solution might be as I've described in #137 which would allow code to disable the modal (perhaps through events or some other mechanism)
Check if Ouibounce can be fired before triggering the callback.
May be usefull if you want to check something before triggering ouibounce (in my case, checking whether a modal is currently opened or not)