Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to watch for changes within a prop in vue

  watch: {
    $props: {
      handler() {
        this.parseData();
      },
      deep: true,
      immediate: true,
    },
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #watch #prop #vue
ADD COMMENT
Topic
Name
3+7 =