Now we've had a taste of KnockoutJS, we are now ready to learn new coding skills. In this chapter, we will see how to extend our MVVM skills to make a lot more sweet data interaction experiences. This chapter will focus on:
Data binding is the essence of many new libraries that interact with the HTML markup as it gets converted to the DOM. We saw binding in Chapter 1, Getting Started with KnockoutJS, using the
data-bind ="..." bindings. Here we will be looking at conditional binding.
The first thing we will do is understand the concept of conditional binding. Our example is meant to be conceptual. ...