Ionic drag gesture coordinate

Hey,

Is there a way to retrieve drag event’s coordinate? Currently, I have

<div class="buttons right-buttons region" ng-click="toggleRight()" on-drag-right="removeRegionB()">

$scope.removeRegionB = function() {
  $scope.dragContent = false;
  console.log(ionic.tap.pointerCoord());
}

but pointerCorrd returns [0,0]

1 Like