Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Listen to custom event in Vue js

<label>
  {{ label }}
  <input
    v-bind="$attrs"
    v-bind:value="value"
    v-on:input="$emit('input', $event.target.value)"
  >
</label>
Source by v2.vuejs.org #
 
PREVIOUS NEXT
Tagged: #Listen #custom #event #Vue #js
ADD COMMENT
Topic
Name
2+2 =