To determine the position of the scroll bar use:
getScrollPosition()
Such as:
$scope.scrollMove = function () { if ($ionicScrollDelegate.getScrollPosition().top > 10) { $scope.showScrollBtn = true; } else { $scope.showScrollBtn = false; } };
To determine the position of the scroll bar use:
getScrollPosition()
Such as:
$scope.scrollMove = function () { if ($ionicScrollDelegate.getScrollPosition().top > 10) { $scope.showScrollBtn = true; } else { $scope.showScrollBtn = false; } };