Skip to content

added hash in route and scrollable template element for pages

Vincent Agnano requested to merge pageelement-scrollable-hash into master

because we use the hash for displaying the appropriate page, it's not available anymore to display a specific block of page.

To go around that, we have multiple parts of the hash. ie: #/account/dashboard#drones would display the page matching /account/dashboard and move to the id=drones.

To do so:

  1. the router.currentHash is passed as attribute to the page element.
  2. the page element watches changes on that hash attribute and scrolls the page accordingly.

Merge request reports