-
-
Notifications
You must be signed in to change notification settings - Fork 241
Router with {N} parameters as clearHistory, backstackVisible #284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Currently, there is no support for clearing the history when navigation with the Your alternative approach - using only |
We (@leocaseiro) ended up getting around this by changing our constructor for the main page (after logging in) to:
This seems to work quite well so far.. |
Great to hear you found a solution. |
Reopening this issue to track implementation of |
The solution from @ChrisMoffatt only removes the action bar but it does not stop the user from being able to go back to the early page (swiping left on IOS). We need to be able to remove completely the backstack just like the nativescript version. |
Hi @vakrilov, I'm using the new router now, and I'd like to implement clearHistory. |
There are some new examples: Documentation update is in progress too. |
Awesome work! I really appreciate @vakrilov. Should it work on the version |
Yes |
@vakrilov Any update on |
@NgSculptor Currently we are not working on supporting that. What's you scenario? Can it be achieved with modal dialogs or router guards? |
Im not sure yet, here is my scenario: user taps on a record from a Now one would expect that if the user hits I tried the router and the routerextensions to navigate back but got the same error. Finally was able to work around this by doing |
I am currently looking for something similair |
@vakrilov Any update on backstackvisible? I have a scenario.
Now the problem is, ideally when user hits back button from Preview screen, he should be taken back to So there must be an option like when user is going to draw his last assignment & navigating to screen #2, I should be able to pass the |
Thanks for the description @sam0829. It seems like a reasonable case. |
@sam0829 You can pass |
Is there any recent news on backstackVisible(of course in angular+{N})? |
Hi, I'm trying to remove my back button after my login.
A good example is the sample-groceries in Angular.
After login, you can still see the back button, but I don't want that.
I am very well-known how to implement that using JS with frameModule.topmost. It's simple to add parameters such as clearHistory or backstackVisible.
Is there any way to pass these parameters with Angular?
I've tried also create a new
<router-outlet>
instead of<page-router-outlet>
following the Docs about {N} Angular Navigation.So I have a login and a index for my router-outlet, however, the index should have some child routers. I'm having lot's of issues trying this solution. Actually my index doesn't replace the full page which is what I want.
Anybody with some ideas for that?
I'm happy to post some examples here...but perhaps it's a simple parameter that I couldn't find.
Also it might be related with #2170
Many thanks
The text was updated successfully, but these errors were encountered: