-
Hello, i'm new here and i dont' understanding the aim of 'debounce' with Puck.js. I would like to send info when the puck is clicked, when I click once, it is as if I had clicked 5 times. How can i set an interval between two clicks ? I think the actual delay is too short. This is an exemple :
setWatch(function() { console.log("Pressed"); }, BTN, {edge:"rising", debounce:50, repeat:true});
Thanks for your help :)
Thanks for your answer, this will help me a lot ! Have a great day :)