Skip to content

Commit a8aa7bd

Browse files
committed
1 parent d1a38f5 commit a8aa7bd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/guide/list.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,8 @@ app.component('todo-item', {
345345
<button @click="$emit('remove')">Remove</button>
346346
</li>
347347
`,
348-
props: ['title']
348+
props: ['title'],
349+
emits: ['remove']
349350
})
350351

351352
app.mount('#todo-list-example')

0 commit comments

Comments
 (0)