Route with # hashtag to ID

When linking to webpages its pretty useful to do something like /mypage#thissection so the page opens up and scrolls to that particular section. Is this not possible with routes? What is the recommended way to achieve this behavior?

It must be handled manually on pageInit where you need to parse route hash and scroll current page content to required element https://jsfiddle.net/g9o1axdj/

1 Like