I do have html script function what I need is when " swipeDirection == 'left' " need to load a page called "page2.html".Thanks in advance :)
processingRoutine() {
var swipedElement = document.getElementById(triggerElementID);
if ( swipeDirection == 'left' ) {
// REPLACE WITH YOUR ROUTINES...