events cannot be delegated
Closed this issue · 5 comments
yairEO commented
using the enableTouch
method for every instance is more hassle than necessary. it makes event delegation impossible.
ajlkn commented
Thanks for the input! Got a specific situation I can look at?
yairEO commented
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.
ajlkn commented
Yep. I'll check it out.
tophmey commented
+1
ajlkn commented
It took 2+ years but event delegation is now supported in v1.0.0 :P