I can't seem to find how to set the scrolled distance in an Angular app. I'm using $window.pageYOffset to get but how do I set?
$window.pageYOffset
I've tried $window.scrollTop = 500; but this does nothing. No errors but no movement either.
$window.scrollTop = 500;
Aucun commentaire:
Enregistrer un commentaire