erikringsmuth / app-router

Router for Web Components
https://erikringsmuth.github.io/app-router/
MIT License
610 stars 83 forks source link

A way to not re-create an instance of the item. #99

Closed tghosgor closed 9 years ago

tghosgor commented 9 years ago

I have observed that on path change, app-router creates an instance of the given item. I need to have app-router showing and hiding the items instead of removing and creating them because I do not want the scrollbar reset when navigating to back one level. Is there a way to do it?

I am manually creating content using