Giter Club home page Giter Club logo

Comments (6)

carlsednaoui avatar carlsednaoui commented on July 22, 2024 1

@9mm, just added this — let me know if it works for you. (I also updated the README :)

from ouibounce.

carlsednaoui avatar carlsednaoui commented on July 22, 2024

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 mouseout event. You have full control over what happens on exit (which element you show, etc).

from ouibounce.

9mm avatar 9mm commented on July 22, 2024

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 callback: function() {}. It would just be cool to do that without having to create a dummy object.

from ouibounce.

carlsednaoui avatar carlsednaoui commented on July 22, 2024

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?

from ouibounce.

9mm avatar 9mm commented on July 22, 2024

Instead of blowing you up with new issues, I'm just wondering if it's easy to let ouibounce work with IE8?

I get Object doesn't support property or method 'addEventListener'.

If not it's not a big deal I don't think... I do think this is an awesome plugin!

from ouibounce.

carlsednaoui avatar carlsednaoui commented on July 22, 2024

Thanks for the heads up — that's a problem. Just opened up a new issue for it 👍

from ouibounce.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.