Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

angular route change scroll to top

RouterModule.forRoot(appRoutes, { scrollPositionRestoration: 'enabled' })
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #angular #route #change #scroll #top
ADD COMMENT
Topic
Name
8+6 =