68.8k views
4 votes
What is 'One-way-to-Source ' binding property?

User Yoiku
by
7.3k points

1 Answer

7 votes

Final answer:

'One-way-to-Source' binding property is a concept in software development where changes in the UI element are reflected in the source data, but not the other way around. It is commonly used in scenarios where only the UI element needs to be updated without modifying the underlying data.

Step-by-step explanation:

'One-way-to-Source' binding property is a concept in software development. It refers to the capability of a data-binding framework to update the source data when the target UI element changes its value. In other words, changes in the UI element are reflected in the source data, but not the other way around. This is commonly used in scenarios where only the UI element needs to be updated without modifying the underlying data.

For example, in a web form, if a user enters their name in an input field, the value of the input field can be bound to a variable in the application code using 'One-way-to-Source' binding. If the value in the input field changes, the variable in the code is updated. However, if the variable in the code changes, it will not update the value in the input field.

User Selector
by
7.8k points

No related questions found