Skip to content

experimental implementation of page stack #83

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

drunkhacker
Copy link

I had difficulty of losing any dynamic content after new page is pushed. Because this library doesn't manage pages with stack, it simply replace mobile-view with new page.

By adding simple array variable containing pushed DOM information, now we can remember all the pages pushed in this navigation bar.

I know this implementation is creepy and buggy, but hope it'll inspire other guys to improve this structure. Thanks.

@wzr1337
Copy link

wzr1337 commented Nov 13, 2013

Niveau approach, you should Limit the Stack in Order to prevent memory wasting

@wzr1337
Copy link

wzr1337 commented Nov 13, 2013

Nice approach I mean :)

@drunkhacker
Copy link
Author

@wzr1337 Thank you. I found that angular ui provides similar stack structure in $modal service. It's worth to take a look.

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

Successfully merging this pull request may close these issues.

2 participants