---
title: "Events and v-model · vuejs.school"
description: "Send events from a child to its parent with defineEmits(), use $event and modifiers, and give your own components a v-model with defineModel()."
canonical_url: "https://vuejs.school/learn/beginner/events-and-v-model"
meta:
  "og:description": "Send events from a child to its parent with defineEmits(), use $event and modifiers, and give your own components a v-model with defineModel()."
  "og:image": "https://vuejs.school/_og/d/a_~RXZlbnRzIGFuZCB2LW1vZGVsIMK3IHZ1ZWpzLnNjaG9vbA%2Cc_OgCard.takumi%2Ctitle_Events%2Band%2Bv-model%2Cdescription_~U2VuZCBldmVudHMgZnJvbSBhIGNoaWxkIHRvIGl0cyBwYXJlbnQgd2l0aCBkZWZpbmVFbWl0cygpLCB1c2UgJGV2ZW50IGFuZCBtb2RpZmllcnMsIGFuZCBnaXZlIHlvdXIgb3duIGNvbXBvbmVudHMgYSB2LW1vZGVsIHdpdGggZGVmaW5lTW9kZWwoKS4%2Ceyebrow_~QmVnaW5uZXIgwrcgTGVzc29uIDggb2YgMTE%2Ctint_mint%2Cp_Ii9sZWFybi9iZWdpbm5lci9ldmVudHMtYW5kLXYtbW9kZWwi%2Cs_7AGYeKzswu7bBdKn.png"
  "og:image:alt": "Events and v-model · vuejs.school"
  "og:image:height": "600"
  "og:image:type": image/png
  "og:image:width": "1200"
  "og:title": "Events and v-model · vuejs.school"
  "twitter:image": "https://vuejs.school/_og/d/a_~RXZlbnRzIGFuZCB2LW1vZGVsIMK3IHZ1ZWpzLnNjaG9vbA%2Cc_OgCard.takumi%2Ctitle_Events%2Band%2Bv-model%2Cdescription_~U2VuZCBldmVudHMgZnJvbSBhIGNoaWxkIHRvIGl0cyBwYXJlbnQgd2l0aCBkZWZpbmVFbWl0cygpLCB1c2UgJGV2ZW50IGFuZCBtb2RpZmllcnMsIGFuZCBnaXZlIHlvdXIgb3duIGNvbXBvbmVudHMgYSB2LW1vZGVsIHdpdGggZGVmaW5lTW9kZWwoKS4%2Ceyebrow_~QmVnaW5uZXIgwrcgTGVzc29uIDggb2YgMTE%2Ctint_mint%2Cp_Ii9sZWFybi9iZWdpbm5lci9ldmVudHMtYW5kLXYtbW9kZWwi%2Cs_7AGYeKzswu7bBdKn.png"
  "twitter:image:alt": "Events and v-model · vuejs.school"
---

> Index of every page on this site: [llms.txt](https://vuejs.school/llms.txt)

# **Events and v-model**

Send events from a child to its parent with defineEmits(), use $event and modifiers, and give your own components a v-model with defineModel().

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://vuejs.school/#website","@type":"WebSite","description":"A free AI-instructed school for Vue.js. Short tutorials, runnable code and quizzes that adapt to you.","name":"vuejs.school","url":"https://vuejs.school/","publisher":{"@id":"https://vuejs.school/#identity"}},{"@id":"https://vuejs.school/learn/beginner/events-and-v-model#webpage","@type":"WebPage","description":"Send events from a child to its parent with defineEmits(), use $event and modifiers, and give your own components a v-model with defineModel().","name":"Events and v-model","url":"https://vuejs.school/learn/beginner/events-and-v-model","breadcrumb":{"@id":"https://vuejs.school/learn/beginner/events-and-v-model#breadcrumb"},"isPartOf":{"@id":"https://vuejs.school/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://vuejs.school/learn/beginner/events-and-v-model"]}],"primaryImageOfPage":{"@id":"https://vuejs.school/#logo"}},{"@id":"https://vuejs.school/#identity","@type":"Organization","description":"A free AI-instructed school for Vue.js. Short tutorials, runnable code and quizzes that adapt to you.","name":"vuejs.school","url":"https://vuejs.school","logo":{"@id":"https://vuejs.school/#logo"}},{"@id":"https://vuejs.school/learn/beginner/events-and-v-model#article","description":"Send events from a child to its parent with defineEmits(), use $event and modifiers, and give your own components a v-model with defineModel().","headline":"Events and v-model","inLanguage":"en","isAccessibleForFree":true,"thumbnailUrl":"https://vuejs.school/_og/d/a_~RXZlbnRzIGFuZCB2LW1vZGVsIMK3IHZ1ZWpzLnNjaG9vbA%2Cc_OgCard.takumi%2Ctitle_Events%2Band%2Bv-model%2Cdescription_~U2VuZCBldmVudHMgZnJvbSBhIGNoaWxkIHRvIGl0cyBwYXJlbnQgd2l0aCBkZWZpbmVFbWl0cygpLCB1c2UgJGV2ZW50IGFuZCBtb2RpZmllcnMsIGFuZCBnaXZlIHlvdXIgb3duIGNvbXBvbmVudHMgYSB2LW1vZGVsIHdpdGggZGVmaW5lTW9kZWwoKS4%2Ceyebrow_~QmVnaW5uZXIgwrcgTGVzc29uIDggb2YgMTE%2Ctint_mint%2Cp_Ii9sZWFybi9iZWdpbm5lci9ldmVudHMtYW5kLXYtbW9kZWwi%2Cs_7AGYeKzswu7bBdKn.png","@type":["Article","TechArticle"],"articleSection":["Templates"],"author":{"@id":"https://vuejs.school/#identity"},"image":{"@id":"https://vuejs.school/#/schema/image/1"},"isPartOf":{"@id":"https://vuejs.school/learn/beginner/events-and-v-model#webpage"},"keywords":["defineEmits()","defineModel()","$event","v-model:name"],"mainEntityOfPage":{"@id":"https://vuejs.school/learn/beginner/events-and-v-model#webpage"},"publisher":{"@id":"https://vuejs.school/#identity"}},{"@id":"https://vuejs.school/learn/beginner/events-and-v-model#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Skill tree","item":"https://vuejs.school/track","position":1},{"@type":"ListItem","name":"Beginner","item":"https://vuejs.school/track/beginner","position":2},{"@type":"ListItem","name":"Events and v-model","position":3}]},{"@id":"https://vuejs.school/#logo","@type":"ImageObject","caption":"vuejs.school","contentUrl":"https://vuejs.school/apple-touch-icon.png","inLanguage":"en","url":"https://vuejs.school/apple-touch-icon.png"},{"@id":"https://vuejs.school/#/schema/image/1","@type":"ImageObject","contentUrl":"https://vuejs.school/_og/d/a_~RXZlbnRzIGFuZCB2LW1vZGVsIMK3IHZ1ZWpzLnNjaG9vbA%2Cc_OgCard.takumi%2Ctitle_Events%2Band%2Bv-model%2Cdescription_~U2VuZCBldmVudHMgZnJvbSBhIGNoaWxkIHRvIGl0cyBwYXJlbnQgd2l0aCBkZWZpbmVFbWl0cygpLCB1c2UgJGV2ZW50IGFuZCBtb2RpZmllcnMsIGFuZCBnaXZlIHlvdXIgb3duIGNvbXBvbmVudHMgYSB2LW1vZGVsIHdpdGggZGVmaW5lTW9kZWwoKS4%2Ceyebrow_~QmVnaW5uZXIgwrcgTGVzc29uIDggb2YgMTE%2Ctint_mint%2Cp_Ii9sZWFybi9iZWdpbm5lci9ldmVudHMtYW5kLXYtbW9kZWwi%2Cs_7AGYeKzswu7bBdKn.png","inLanguage":"en","url":"https://vuejs.school/_og/d/a_~RXZlbnRzIGFuZCB2LW1vZGVsIMK3IHZ1ZWpzLnNjaG9vbA%2Cc_OgCard.takumi%2Ctitle_Events%2Band%2Bv-model%2Cdescription_~U2VuZCBldmVudHMgZnJvbSBhIGNoaWxkIHRvIGl0cyBwYXJlbnQgd2l0aCBkZWZpbmVFbWl0cygpLCB1c2UgJGV2ZW50IGFuZCBtb2RpZmllcnMsIGFuZCBnaXZlIHlvdXIgb3duIGNvbXBvbmVudHMgYSB2LW1vZGVsIHdpdGggZGVmaW5lTW9kZWwoKS4%2Ceyebrow_~QmVnaW5uZXIgwrcgTGVzc29uIDggb2YgMTE%2Ctint_mint%2Cp_Ii9sZWFybi9iZWdpbm5lci9ldmVudHMtYW5kLXYtbW9kZWwi%2Cs_7AGYeKzswu7bBdKn.png"}]}
```