How to pass data (selected item) to Durandal composed detail view?

后端 未结 3 1937
忘掉有多难
忘掉有多难 2021-02-08 18:41

I\'ve started using (as of, a few hours ago) Durandal with the hope to manage views and allow composition within a single page - the previous approach, also using Knockout, was

3条回答
  •  青春惊慌失措
    2021-02-08 18:55

    I think that it's possible to pass any basis object as we do with modal call. ko.compose is passive; with durandal router, you can carry your data to where you like. Have a look to my work-around in this answer and help to perform.

提交回复
热议问题