A simple and flexible plugin to do declarative event delegation in Knockout.js
Install-Package Knockout-DelegatedEvents -Version 0.6.1
dotnet add package Knockout-DelegatedEvents --version 0.6.1
<PackageReference Include="Knockout-DelegatedEvents" Version="0.6.1" />
paket add Knockout-DelegatedEvents --version 0.6.1
#r "nuget: Knockout-DelegatedEvents, 0.6.1"
// Install Knockout-DelegatedEvents as a Cake Addin #addin nuget:?package=Knockout-DelegatedEvents&version=0.6.1 // Install Knockout-DelegatedEvents as a Cake Tool #tool nuget:?package=Knockout-DelegatedEvents&version=0.6.1
0.6.1 - update main field in package.json to point to the correct file
0.6.0 - new delegatedParent functionality
0.5.0 - allow bubbling to continue after an event is handled by using an additional binding like "delegatedClickBubble: true" with "Click" being the name of the event to control.
0.4.0 - disabled elements (and elements inside of disabled elements) will not execute event handlers
0.3.0 - prevent bubbling if event is actually handled to prevent multiple delegatedHandlers from processing same event
0.2.0 - change submit behavior to match KO arguments
0.1.3 - code cleanup. use Jasmine 2.0 for tests.
0.1.2 - use parentNode rather than parentElement for better SVG support
- knockoutjs (>= 2.0.0)
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.