Open
Description
Hi there! It's possible I'm being dense here, but I'm attempting to figure out how I can detect the start and end of a pinch gesture.
I was assuming that the phase
property would let me know whether the callback is start
or end
, but in all cases, it's coming back as move
.
Am I missing something? Thank you
const region = new wes.Region(el);
const pinch = new wes.Pinch(el, data => {
console.log(data); // data.phase is always `move`
});
region.addGesture(pinch);
Metadata
Metadata
Assignees
Labels
No labels