KoLite 1.2.0

dotnet add package KoLite --version 1.2.0                
NuGet\Install-Package KoLite -Version 1.2.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="KoLite" Version="1.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add KoLite --version 1.2.0                
#r "nuget: KoLite, 1.2.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install KoLite as a Cake Addin
#addin nuget:?package=KoLite&version=1.2.0

// Install KoLite as a Cake Tool
#tool nuget:?package=KoLite&version=1.2.0                

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

asyncCommand
activity
dirtyFlag

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

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.2.0 3,542 8/28/2014
1.1.0 5,884 12/21/2012
1.0.4 972 9/30/2012
1.0.3 219 8/13/2012
1.0.2 59 8/13/2012
1.0.1 58 8/13/2012
1.0.0 59 8/13/2012

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.