Skip to content
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

Navigate to view in code. #16

Closed
Paperasse opened this issue Oct 16, 2018 · 5 comments
Closed

Navigate to view in code. #16

Paperasse opened this issue Oct 16, 2018 · 5 comments

Comments

@Paperasse
Copy link

It would be nice to go a view in code. Example: in a view the user enters data which is stored in de vuex store through an mutation. After that the app needs to navigate to another view. A "toView' function perhaps?

@tinchox5
Copy link
Member

Do you mean programmatic navigation? I think this is a good feature to add. I'll work on that.
Thanks!!

@Paperasse
Copy link
Author

Yes that is what I mean. Thanks.

@Paperasse
Copy link
Author

The Vue router has such a function

@tinchox5
Copy link
Member

@Paperasse I added a $zircleaction called toView() to perform programmatic navigation. 🎉 Available on zircle v.1.1.0. You should update zircle to use it.

Pls check the documentation:
https://zircleui.github.io/docs/api/z-spot.html#using-programmatic-navigation

@Paperasse
Copy link
Author

Ok. Will update and use it. Will let you know if there something wrong. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants