Run npm i swipe
#
Import import swipe from 'swipe-dk'
#
You can use swipe-left
, swipe-right
, swipe-bottom
, swipe-top
events.
#
Example: document.addEventListener('swipe-left', () => {})
Configurable vanilla input handler for swipe, click, double-click, and long-click that works with both mouse and touch