KoLite 1.1.0

KoLite contains a set of helpers to aid in creating MVVM applications using JavaScript and Knockout. Including:


For a quick start, see http://jpapa.me/kolitegh

There is a newer version of this package available.
See the version list below for details.
Install-Package KoLite -Version 1.1.0
dotnet add package KoLite --version 1.1.0
<PackageReference Include="KoLite" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add KoLite --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Command binding handler supports binding to native Knockout bindings as well as the Knockout event binding for DOM events.

Event object get passed on to callback on event bindings, to determine pressed key or keypress event.

Added ko.command as an alternative to ko.asyncCommand for synchronous tasks.

The asyncCommand's canExecute now defaults to !isExecuting if no canExecute delegate is specified. This eliminates the need of a canExecute delegate in you view-model when you only want disable the bound element when the command is executing.

Explicitly do not execute commands when canExecute returns falsy. This is needed for DOM elements like the <a> which cannot be disabled.

Renamed file knockout.asyncCommand.js to knockout.command.js as it now contains both async and sync commands.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.2.0 129,033 8/28/2014
1.1.0 93,913 12/21/2012
1.0.4 8,003 9/30/2012
1.0.3 1,798 8/13/2012
1.0.2 572 8/13/2012
1.0.1 612 8/13/2012
1.0.0 544 8/13/2012