Sliders:

Touch Swiping

Schwiiiiing! That’s the sound of a swiping gesture. That’s right, folks: today we’re going to lift the shroud of mystery that surrounds touch events. In this lesson, we dive into the world of the touchscreen and consider how we can improve our slider component to intuitively react to touch device controls. Implementing this improvement will shed light on the ability to add touch gestures to any other interaction you can think of, and will take our slider to a new level of awesome.

Learn More

  1. Touch Events (MDN)
  2. Lesson Source Code
Lesson 30 of 34