Necromancers Playing MTG

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

    1.5.0 • 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)
    })

    Install

    npm i cross-gesture

    DownloadsWeekly Downloads

    69

    Version

    1.5.0

    License

    MIT

    Unpacked Size

    83.5 kB

    Total Files

    22

    Last publish

    Collaborators

    • yuuko