Closed jo-m1b closed 2 years ago
Ok, i found it i have to do like this :
document.querySelectorAll('.box').forEach(box => {
var PointerListener = new PointerListener(box);
box.addEventListener('tap, function(event){
// do something
});
});
Thanks for bringing this up. This is a use case I did not have in mind. Currently, a SinglePointerGesture
gets invalidated if two pointers are present. I am thinking about implementing a setting which allows multiple parallel SinglePointerGesture
s with one PointerListener
.
I don't know if it's a bug or if I didn't understand how to do it, but how to get multiples tap at the same time like on hammer.js ?
Ex :
For the moment if i "tap" on 3 boxes with 3 different fingers at the same time nothing happen !
DEBUG just say !
Thanks for help !