Swipe is a lightweight mobile slider with 1:1 touch movement. 1:1 touch movement is sliding content based on exact touch position. It's a different level of interacting with the content, more intuitive than swiping left to right and then watching the slider move to the proper position.
Mobile size constraints mixed with new web functionality is allowing us to develop new models for how users interact with the web. This is a good thing. It forces us mobile web developers to rethink how we build the web. One of these key interactions is swiping through content, whether it be images, text, or other media. Image sliders and galleries populate the web as a way to display more in less space. This pattern is even more effective on mobile devices.
Swipe exposes a few functions that can be useful for script control of your slider.
prev() slide to prev
next() slide to next
getPos() returns current slide index position
getNumSlides() returns the total amount of slides
slide(index, duration) slide to set index position (duration: speed of transition in milliseconds)