This product is a Hammer.js wrapper for Svelte, designed to support certain operations on mobile devices. It functions as a directive in Svelte, making it easy to use Hammer.js within Svelte projects. The library requires Svelte version 3.0 or higher and Hammer.js version 2.x or higher.
To install this library, you need to have Svelte version 3.0 or higher and Hammer.js version 2.x or higher. Use the following code snippets to install:
npm install svelte-hammerjs
This Svelte wrapper for Hammer.js provides an easy way to support mobile operations within Svelte projects. It offers a range of directives for detecting different gestures and events like pan, pinch, press, rotate, swipe, and tap. The library is easy to install and requires Svelte version 3.0 or higher and Hammer.js version 2.x or higher. It provides a convenient way to integrate Hammer.js functionality into Svelte projects.