ajlkn/jquery.touch

events cannot be delegated

Closed this issue · 5 comments

using the enableTouch method for every instance is more hassle than necessary. it makes event delegation impossible.

Thanks for the input! Got a specific situation I can look at?

yes. imagine you have 5000+ elements on screen which you need to have doubletap for. This is a very common situation. Obviously, you will not bind a doubletap event for each element, I do no need to say why.

Yep. I'll check it out.

+1

ajlkn commented

It took 2+ years but event delegation is now supported in v1.0.0 :P