jeudi 16 juin 2016

Set scrolled distance from top of page


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?

I've tried $window.scrollTop = 500; but this does nothing. No errors but no movement either.


Aucun commentaire:

Enregistrer un commentaire