Skip to content

experimental implementation of page stack#83

Open
drunkhacker wants to merge 1 commit into
ajoslin:masterfrom
drunkhacker:master
Open

experimental implementation of page stack#83
drunkhacker wants to merge 1 commit into
ajoslin:masterfrom
drunkhacker:master

Conversation

@drunkhacker
Copy link
Copy Markdown

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
Copy Markdown

wzr1337 commented Nov 13, 2013

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

@wzr1337
Copy link
Copy Markdown

wzr1337 commented Nov 13, 2013

Nice approach I mean :)

@drunkhacker
Copy link
Copy Markdown
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