Skip to content

Commit 12071a7

Browse files
authored
use camelCase (#1338)
1 parent 334ea37 commit 12071a7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/guide/component-custom-events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
## Event Names
66

7-
Like components and props, event names provide an automatic case transformation. If you emit an event from the child component in camel case, you will be able to add a kebab-cased listener in the parent:
7+
Like components and props, event names provide an automatic case transformation. If you emit an event from the child component in camelCase, you will be able to add a kebab-cased listener in the parent:
88

99
```js
1010
this.$emit('myEvent')

src/guide/migration/vnode-lifecycle-events.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ In Vue 3, the event name is prefixed with `vnode-`:
3131
</template>
3232
```
3333

34-
Or just `vnode` if you're using camel case:
34+
Or just `vnode` if you're using camelCase:
3535

3636
```html
3737
<template>

src/guide/render-function.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ render() {
350350

351351
#### Event Modifiers
352352

353-
For the `.passive`, `.capture`, and `.once` event modifiers, they can be concatenated after the event name using camel case.
353+
For the `.passive`, `.capture`, and `.once` event modifiers, they can be concatenated after the event name using camelCase.
354354

355355
For example:
356356

0 commit comments

Comments
 (0)