CHAPTER 5

image

Data Binding and Navigation

Typically, when you look at any application, it is composed of a user interface (UI) and an underlying business logic. Data binding is a process in which you connect the application UI and the business logic. When data changes its value, the elements that are bound to the data reflect the changes automatically and when the element value is changed, the underlying data will also be updated and reflect the change.

5.1 Data Bind to Simple Objects

Problem

As part of the application business logic, you have a simple business object with data properties. You want to bind the data properties of the business object ...

Get Windows 10 Development Recipes: A Problem-Solution Approach in HTML and JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.