A
A
Anton Guz2014-03-24 13:26:34
JavaScript
Anton Guz, 2014-03-24 13:26:34

How to navigate between list and detail page (MVVM)?

There is a one-page-application on the Knockout/Durandal stack.
There is a model of elements (View) and two view models for the list (ListViewModel) and a detailed view (DetailViewModel). It is necessary to save the state of the list
during the transition list-detail_view-list : scroll position, checked elements, loaded elements with infinite scroll. Like here google groups : Now every time you go back, the list is re-rendered. Questions: How to do it? What principle/pattern can be used? Existing solutions?
21af7608cb904fcaae3fc9478a676fc0.gif

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
lega, 2014-03-26
@lega

Now every time you go back, the list is re-rendered.
What for? You can just hide it. That's probably how it's done.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question