I found it in the link you provided at Router Methods - router.navigate(url, options)??
Thats how I load all my pages when I use router.navigate?
I have a select list on the page that I want to reload.
And when you select a value I run a on change to get the value and reload the page with the selected value with below.
If I are on page1 and link to the same page, just loading a new variable and then set the routes in my js file like below, then it reloads the page with all the right values, but it is not sliding in.
So my question is, can you set so even if it is reloading the current page that it animates in?
So when I load the page the first time I use this and it slides in as it should…
So lets say I first have a page with page-name “schemalista” from that list I load the page with page name “skapaschema2” and from that page I navigate to the same page “skapaschema2”.
Then I get 2 pages with the same page-name “skapaschema2”.
One with class page-current and one with page-previous
So can I remove the one with “skapaschema2” class page-previous ?