Watch Property
Vue.js is a very powerful and reactive JavaScript framework, which is used to build Uis (User Interfaces) and SPAs (Single-page Applications).
Vue.js provides the watch property to observe and react to the variables or data change. We can use the watch property to manipulate the DOM when the watched variable gets changed.
Example
After the execution of the program, you will see the following output:
OutPut:
Before entering value in input field
After entering value in input field