I've create a new constructor for CreateKnockoutContext extension to accept a string as a custon ViewModelName (needed to use multiple viewmodels in a same view like a partials...).
Also, the Apply method have been extended to accept two new parameters:
wrapperId -> The elementid to do the knockout binding (needed for multiple viewmodels in same mvc view). Empty by default for back compatibility.
applyOnDocumentReady -> adds the "$(document).ready" header to the autogenerated binding script. False by default for back compatibility.
All is tested and working in my development environment.
I've create a new constructor for CreateKnockoutContext extension to accept a string as a custon ViewModelName (needed to use multiple viewmodels in a same view like a partials...).
Also, the Apply method have been extended to accept two new parameters:
All is tested and working in my development environment.
Regards!