Features
- Touch-friendly: Supports touch events
- Keyboard navigation: Allows navigation using keyboard arrows
- Customizable: Easily customize the slider's appearance and behavior
- No dependencies: Made with pure JavaScript, without any libraries or frameworks
- Accessible: Supports accessibility features for users with disabilities
Methods
- destroy: Removes the slider instance from the DOM
- gotTo: Changes the active slide to the specified index
- next: Changes the active slide to the next slide
- prev: Changes the active slide to the previous slide
- play: Starts autoplay
- pause: Pauses autoplay