V Model Cheat Sheet

V-model

How to access parent value

<!-- Parent.vue -->
<child v-model="someObj"></v-modle>
// Child.vue
export default {
  props: {
    value: Object
  },
  created() {
    console.log(this.value); // expect output is someObj (from Parent.vue)
  }
};

if you want to customize, see more details

export default {
  model: {
    prop: "checked",
    event: "change"
  }
};