what is Vue.js Watch Property

Posted by

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

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x