ruyadorno/simple-slider

Touch Swipe solving error

sergioplaza opened this issue · 1 comments

Hello, I was using the Touch swipe example Guide and there is an error when trying to scroll down or scroll up.

Solution:

(-) var Swipe = new Hammer.Swipe ();
(+) var Swipe = new Hammer.Swipe ({direction: Hammer.DIRECTION_HORIZONTAL});

Greetings.

thanks for the suggestion 😄