Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(js): introduce SwipeDetector class to manage multiple detectors
Added the SwipeDetector class in swiperia-js to orchestrate multiple swipe detection mechanisms simultaneously. This class allows for the initialization of various detector instances (such as MouseSwipeDetector and TouchSwipeDetector) and manages their lifecycle through common `listen` and `destroy` methods. This setup enables seamless integration and management of different swipe detection strategies within the same element.
- Loading branch information