Swipe left for page transition


#1

Hi i’m trying to do swipe left for page transition using url but i can’t, actually i’m new in mobile apps and i don’t know how to do.

Thanks


#2

I got it

html

<div  class="swipe" on-swipe-left="warn()"></div>

CSS

.swipe {
  background-color: blue;
  padding: 20px;
  color: white;
  height:200px;
}

JS

    app.controller('MenuCtrl', function ($scope) {
    $scope.warn = function (url) {
      window.location.href="#euquero";
    };
  });

#3

window.location.href="#euquero";

here #euquero means ? state are any thing