therefore, itβs difficult for me to find a way to scroll to the top of the window when interacting with the user (for example, clicking on an element). In AngularJS, I could use $window.scrollTo(0, 0); I do not use Angular2 Router, so you need something like the above $window
Any help would be greatly appreciated.
angular
LithStud
source share