From 79957c82680e20b1371cc04165baef9ac19514d1 Mon Sep 17 00:00:00 2001 From: Ben Hong Date: Fri, 8 Jan 2021 21:53:48 -0500 Subject: [PATCH] fix: follow convention for kebab-case --- src/guide/component-custom-events.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/guide/component-custom-events.md b/src/guide/component-custom-events.md index 5a7ef9be3c..a3c09f91e0 100644 --- a/src/guide/component-custom-events.md +++ b/src/guide/component-custom-events.md @@ -24,7 +24,7 @@ Emitted events can be defined on the component via the `emits` option. ```js app.component('custom-form', { - emits: ['inFocus', 'submit'] + emits: ['in-focus', 'submit'] }) ``` @@ -81,7 +81,7 @@ app.component('my-component', { }, emits: ['update:title'], template: ` - @@ -114,7 +114,7 @@ app.component('user-name', { }, emits: ['update:firstName', 'update:lastName'], template: ` - @@ -153,7 +153,7 @@ app.component('my-component', { }, emits: ['update:modelValue'], template: ` - `, @@ -218,7 +218,7 @@ app.component('my-component', { props: ['description', 'descriptionModifiers'], emits: ['update:description'], template: ` - `,