cross-gesture
TypeScript icon, indicating that this package has built-in type declarations

1.5.1 • Public • Published

Gesture lib

Gesture lib for modern browsers

Install

Npm:

npm install --save-dev cross-gesture

Yarn:

yarn add cross-gesture

Usage

import { CrossGesture } from 'cross-gesture'

const cg = new CrossGesture('#id')

cg.addListener('pinchAndRotate', (evt: TouchEvent, detail: GestureDetailPinchAndRotate) => {
    console.log(detail)
})

Package Sidebar

Install

npm i cross-gesture

Weekly Downloads

3

Version

1.5.1

License

MIT

Unpacked Size

83.7 kB

Total Files

22

Last publish

Collaborators

  • yuuko