Code Monkey home page Code Monkey logo

jquery.event.special.fastclick's People

Contributors

plaputta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

jquery.event.special.fastclick's Issues

Support for non-touch devices

Would like to add support for non-touch devices using Modernizr, would make you be able to include fastclick into any project and simply always use fastclick instead of click when binding events.

Will submit a patch for it in a bit.

Using bind-groups breaks the plugin when re-adding listener

When you use event groups with your bind, i.e.

$part5.on('fastclick.part5', 'a[data-role="button"]', eventDelegationCallback);

Everything is not cleared up with the event is unbound using

$part5.off('.part5');

Which leads to, when we try to add the event listener again, it won't work.

$part5.on('fastclick.part5', 'a[data-role="button"]', eventDelegationCallback);

The reason is that the objHandlers that is saved on the element are not cleared, and therefore the listener won't get added the second time. Not familiar to the reason why it's cleared in remove rather than teardown, so I'm not comfortable with changing it.

Will make a commit soon that references the issue with a demo.

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.