HTTPS SSH

ponywheel

Mousewheel for touch devices

npm install ponywheel

Documentation

npm
GitHub license
Travis
David
David
GitHub issues
GitHub forks
GitHub stars
js-standard-style
Standard Version
Commitizen friendly

Usage

const ponyWheel = new PonyWheel(
  {
    rootNode: document.body,
    eventTarget: window
  });

ponyWheel.init()

window.addEventListener('ponywheel',(e)=> {
  console.log(e.detail) // => mousewheel.e
})

// ponyWheel.destroy()