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

Aurelia native router #3

Open
Scapal opened this issue Feb 14, 2017 · 1 comment
Open

Aurelia native router #3

Scapal opened this issue Feb 14, 2017 · 1 comment

Comments

@Scapal
Copy link

Scapal commented Feb 14, 2017

Hi Alexander,

A while ago, working with F7 and Aurelia, I made an iOS like navigation-view controller for Aurelia.
It is not using the default Aurelia routing system nor F7 one, you create new views on the fly and caches the previous views on a stack.
It avoids you to create all the views from the start, you can create multiple instances of a view with different content so I can fit complex workflows with circular view references.

If interested, take a look at my Gist repo:
https://gist.github.com/Scapal/20518b932c4c8e3c1940
https://gist.github.com/Scapal/27e46dd56fb48f5b02aa725ac04b26ca

I was not 100% happy with the css based animations as it introduces some bugs (i.e.. don't click on a button during the animation).

@alflennik
Copy link
Owner

Thanks for sharing, I'll check it out!

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

No branches or pull requests

2 participants