Jumping to specific editors via the navigation requires a targeting system. A page reload may occur for a called
anchor, and thus is scrolled into view async. In other cases the current view may be completely rebuilt which
resets the scroll position to top. A stored pointer (current) may be used to retrieve the scroll position.
named anchors fail when hash routes are present. Thus anchors are processed via javascript.
Register to page changes, target-pointer changes or to (re)scroll to the current pointer in view.
The LocationService manages global pointer states and scroll position:
Motivation
Jumping to specific editors via the navigation requires a targeting system. A page reload may occur for a called anchor, and thus is scrolled into view async. In other cases the current view may be completely rebuilt which resets the scroll position to top. A stored pointer (current) may be used to retrieve the scroll position. named anchors fail when hash routes are present. Thus anchors are processed via javascript.