easy-gesture-helper
v1.0.4
Published
an easy way to use gesture
Downloads
4
Readme
Easy Gesture Helper
an easy way to use gesture
Install
yarn add easy-gesture-helper
ornpm i easy-gesture-helper -S
Usage
import {useDrag, useGesture} from "easy-gesture-helper";
useDrag(document.getElementById('xxx'))
useGesture(document.getElementById('xxx'))