Can we use this for Knockout?

Jul 3, 2013 at 10:53 PM
Hi,

Thanks for this jsmapper. I need to make sure that this mapper can really use for knockout. If not can you provide a client side code please?

Thanks
Coordinator
Jul 4, 2013 at 11:34 AM
Hi there

Yes, Knockout is supported.
If you need client-side-validation, then add this JS-library to your page.

You can set up the mapper as explained in the documentation (or the frontpage).
Only difference is, that you have to define KnockoutJs instead of Backbone.
So the call for getting the Js-Code is:
var output = JsModelManager.GetAllJsOutput<KnockoutJs>();
Cheers!