Skip to content Skip to sidebar Skip to footer
Showing posts with the label Touch

Supporting Touch Interface In A Canvas

I use a canvas, in which I support mouse dragging by setting in Javascript: canvas.onmousedown can… Read more Supporting Touch Interface In A Canvas

How To Remove An Event Listener In Javascript?

I am wondering how can I remove an event listener after adding one, the way you use on and off in j… Read more How To Remove An Event Listener In Javascript?

Disable Predictive Scrolling - Mousewheel (onscroll) Event Fires Too Often (touchpad)

I am executing Javascript onScroll. My code works great with any normal computer mouse, but when I … Read more Disable Predictive Scrolling - Mousewheel (onscroll) Event Fires Too Often (touchpad)