Handles swipe gestures for navigating image sequences, particularly for swipe galleries and Omni object rotation.
Marcel Duin marcel@micr.io
Creates a GallerySwiper instance.
The main HTMLMicrioElement instance.
The total number of images/frames in the sequence.
Callback function to navigate to a specific index.
Swiper options: sensitivity, continuous looping, coverLimit.
Getter for the current active image/frame index from the engine.
Animates smoothly to a target index using requestAnimationFrame.
The target index.
Cleans up event listeners when the swiper is destroyed.
Handles swipe gestures for navigating image sequences, particularly for swipe galleries and Omni object rotation.
Author
Marcel Duin marcel@micr.io