javascript - Can 2 pages use the same viewmodel? -


i have huge problem. application containing 10 forms , every form contains lot of input boxes. view model aleady huge, not makes me warry. in few forms need open popup window , make calculations based on values entered in form (using ko komputed). avoid creation of new viemodel(if possible) every form , popup window.

is there way have new window using same viemodel? if so, computed fields working?

sorry messy question, can not figure out.

can not use html popups (such modal dialog in jquery ui), rather actual popups?

i suggest should have single view model per form, unless have same data bindings.


Comments