@composi/gestures:

Install

No Install

If you've created a project using create-composi-app, you do not have to install @composi/gestures. It is already installed in the new project and ready to import into your code. Read the documentation for create-composi-app to learn how to get up and running fast.

To use @composi/gestures, you'll need to import it into your project:

import { gestures } from @composi/gestures
// Initialize the gestures:
gestures()

Once you've imported @composi/gestures into your project you are ready to start using it. Read the docs for Usage.

If you want to use @composi/gestures with a library/framework other than @composi/core, you need to install it from NPM and then import it into your project:

npm i -D @composi/gestures

Then you need to import @composi/gestures into your project:

import { gestures } from '@composi/gestures'
// After importing, you need to
// initialize the gestures before using:
gestures()