Scroll (route) to anchor (#id)

Good afternoon!

It is necessary to make navigation on the long text within one page. Having marked some elements like id = ‘id1’, …, id = ‘idn’.
Next, in different places of the page, place links to these id (# id1 and so on)

In vue-router you can simulate the “scroll to anchor” behavior:

scrollBehavior (to, from, savedPosition) {
if (to.hash) {
return {
selector: to.hash
//, offset: {x: 0, y: 10}


Is it possible to do something similar with the help of framework7 router?

No really, you can manually check page.oute.hash on pageInit event and do the scrolling manually by setting it on page-content element