-
Notifications
You must be signed in to change notification settings - Fork 371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use ouibounce without dummy object? #30
Comments
Hey travis, small world — I'm a big fan of pineapple.io (I created http://coursebacon.com/ way back when I was learning rails!). I'm not sure I understand what you're trying to achieve — why would you call ouibouce on false? If you're trying to show a modal using ouibounce you def need to select an element (which ouibounce will then show). All you're getting with ouibounce is the trigger — based on the |
Hey man, thats awesome! :) Er, as for my question that was just a (probably awful) idea. Basically, I just would like to benefit from the outbounce API for when the user's mouse is leaving the page, but without ouibounce actually triggering a popup (I use this modal plugin for example). What I currently do is create a blank dummy object, then place my vex modal code in |
Ohh, I see. That's a neat use case! Not sure if there's an easy way to add that in right now but pull requests are always welcome :) @Jenius: any ideas on this? |
Instead of blowing you up with new issues, I'm just wondering if it's easy to let ouibounce work with IE8? I get If not it's not a big deal I don't think... I do think this is an awesome plugin! |
Thanks for the heads up — that's a problem. Just opened up a new issue for it 👍 |
@9mm, just added this — let me know if it works for you. (I also updated the README :) |
I want to have full control over what happens on exit (my own modal code, etc).
Right now I have to just make a dummy object, and put my regular code in the callback. Maybe we could just have something like calling ouibounce() on false will still trigger callbacks but wont try to mess with any elements?
The text was updated successfully, but these errors were encountered: