Primarily there are SIX type of bindings.
- Controlling text and appearance
- Control flow
- Working with form fields
- Rendering templates
- Binding syntax
- Creating custom bindings
- Controlling text and appearance
- Knockout bindings visible, hidden, text, html, class, css, style, attr are called controlling and appearance type.
- Control flow
- Bindings such as foreach, if, ifnot, let, with, using, component, binding lifecycle events (it contains subscribe, component, childrenComplete, descendantsComplete etc..)
- Working with form fields
- All form events of form click, event, submit, enable, disable, value, textInput, hasFocus, checked, options, selectedOptions, uniqueName.
- Rendering templates
- Template binding which render other knockout observables and components.
- Binding syntax
- knockout uses data-bind for binding. Second is binding context which we will learn in-depth in upcoming articles.
- Creating custom bindings
- Knockout default has events binding such click, submit etc. In case, if you wanted such custom event, observable, or any component.