Skip to content

x-swipe

x-swipe

Utility that enables seamless detection of swipe gestures and emits the corresponding direction. With x-swipe, you can easily recognize and respond to swipe interactions, providing valuable input for navigating or triggering actions within your application. Enhance user experiences and simplify swipe gesture handling with the power of x-swipe.

Example:

<div x-html x-swipe={({ value }) => console.log("side " + value)}>
  Swipe me
</div>