swipe pages in pure javascript


Original source


24 responses to “swipe pages in pure javascript”

  1. Nice tut!
    I actually think that separating your js from the html is better than inserting the event attributes inside the html.
    I would target the element in the js file and add event listeners to it.
    Cleaner and safer code.

Leave a Reply