Skip to content

tylkomat/ui-scroll-router-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ui-scroll-router-example

just a demo for an issue

Install

bower install

start index.html with any http server you like, I used simple-autoreload-server.

Description

Clicking on any list item an going back should start the list with the previously clicked item scrolled to top.

That was achived using the persistScrollPosition directive, which receives a callback function with the current index which is executed when going back to run adapter.reload with that index.

Unfortunately adapter does not exist when going back.

About

just a demo for an issue

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published