Answers for "vue js custom events"

2

vue custom events

this.$emit('update:title', newTitle)
Posted by: Guest on July-24-2021
0

vue custom events

<text-document
  v-bind:title="doc.title"
  v-on:update:title="doc.title = $event"
></text-document>
Posted by: Guest on July-24-2021

Browse Popular Code Answers by Language