knockout.js Equivalents of AngularJS bindings

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Remarks

Not everything in AngularJS has a KnockoutJS equivalent (for example ngCloack, or ngSrc). There are two main solutions typically available:

  1. Use the generic attr or event binding instead.
  2. Similar to custom directives in AngularJS, you can write your own custom binding handler if you need something that isn't included in the base library.

If you prefer the AngularJS binding syntax you can consider using Knockout.Punches which enables handlebar-style binding.



Got any knockout.js Question?