knockout icon indicating copy to clipboard operation
knockout copied to clipboard

My enhancements to Knockout

Results 12 knockout issues
Sort by recently updated
recently updated
newest added

This makes ko.bindingProvider configurable as to the `bindingAttribute` and `virtualElementTag` it uses. Currently only one bindingProvider can be used. However it paves the way for multiple interdependent binding providers (...

ko.computedContext can include some public functions such as - getDependencyCount - return number of dependencies so far in current evaluation. see knockout/knockout#627 - isDependency - return whether an observable is...

The pattern is to have a computed observable in which sections could be set up to run only when specific observables change. Example: ``` javascript var A = ko.computed(function(didChange) {...

The 'with' binding currently uses the native template template engine, which adds a lot of overhead. The main purpose of the 'with' binding is to push a new binding context...

`setUpTwoWayBinding` function can check if values are different and perform updates if that's the case.

Currently, when control-flow bindings are nested, each re-rendering of the outer binding must re-initialize the inner binding, which must re-save its "template" elements. The change here would be to do...

I've been reading lately about reactive programming and think that Knockout, through computed observables, provides many of the features of reactive programming. One area, though, that is at odds with...

`insertPropertyAccessors` already does some pre-processing, but it may make sense to move this to the binding handlers. They would have a function that takes a value string and returns a...

Binding themselves can act as a sort of event handler: by creating a custom binding, you can do something when the binding manager first processes the element (init and then...

Make it work similar to the DOM events that pass an object to the event handler, which can thus include any number of properties.