knockout.viewmodel icon indicating copy to clipboard operation
knockout.viewmodel copied to clipboard

The knockout viewmodel plugin is the fastest, smallest, cleanest, most flexible way to create a knockout viewmodel.

Results 28 knockout.viewmodel issues
Sort by recently updated
recently updated
newest added

Hi there, is there a way to replace **ko.mapping.fromJS(data, {}, this);** from original mapping plugin with one function from knockout.viewmodel? I'd like to map the data to my original model,...

I have an issue in which I get the message "TypeError: g.pushFromModel is not a function". This happens when I call ko.viewmodel.updateFromModel for the second time. The code is as...

This was a problem that I detect on the display of the information when was updating recursive the viewmodel from the new model. Because when we remove a element: viewModelObj.splice(q,...

See the example: http://jsfiddle.net/wVGZc/1/ If you click on change page a new list is loaded but the sort is inverted. If the arrayChildId option is removed it works fine.

When using a viewModel with computed observables, updatingFromModel works fine, but when mapping back to the model, using toModel, ko.viewmodel omits all computed observables. When using ko is usual that...

Typos fixed recrusive (recursive) and primative (primitive) Also set global options.

In my project, i made changes to `knockout.viewmodel` to make it compatible with [AMD](https://github.com/amdjs/amdjs-api) (i am using [durandal.js](http://durandaljs.com)) based on template in [UMD.js](https://github.com/umdjs/umd/blob/master/amdWebGlobal.js). The changes is also compatible when used...

We have a problem on line 412 in latest knockout.viewmodel.2.0.3.js (tested also in previous version - same problem). If viewmodel and model contains array deep in their structure, line 415...

I added a wrapper based on [UMD](https://github.com/umdjs/umd/blob/master/amdWeb.js) to make the plugin support AMD/RequireJS, and I created a separate AMD test suite. All tests pass. I did not bother, in light...

Calling ko.viewmodel.toModel from a custom unmap function, as seen in one example on the project page, leads to infinite recursion. The example from the project page looks as follows: ```...