For a quick start, see http://jpapa.me/kolitegh
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" />
paket add KoLite --version 1.1.0
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.