domingo, 3 de abril de 2016

Ionic - How to scroll programatically?


If you are in a Ionic project and you want to move your screen (to scroll it) to the top or to the bottom, you just need to receive the $ionicScrollDelegate and call the methods scrollTop or scrollBottom:

angular.module('mymodule').controller('MyCtrl', function($scope, $ionicScrollDelegate) {



That's it :)

Best regards,
Adriano Schmidt

Nenhum comentário:

Postar um comentário