Skip to content

Commit 636f4b3

Browse files
authored
Spacing
1 parent ba6e4b8 commit 636f4b3

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

Diff for: src/api/options-state.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -433,20 +433,20 @@ Declare the custom events emitted by the component.
433433
}
434434
```
435435

436-
Listeners on events may be captured in components by defining them as properties with the naming scheme of `on{Event}`:
437-
438-
> If an event contains a colon, use the naming scheme `on{Event}:{event}`.
439-
440-
```js
441-
export default {
442-
props: {
443-
onCheck: Function,
444-
'onClick:export': Function,
445-
},
446-
447-
emits: ['check', 'click:export'],
448-
}
449-
```
436+
Listeners on events may be captured in components by defining them as properties with the naming scheme of `on{Event}`:
437+
438+
> If an event contains a colon, use the naming scheme `on{Event}:{event}`.
439+
440+
```js
441+
export default {
442+
props: {
443+
onCheck: Function,
444+
'onClick:export': Function,
445+
},
446+
447+
emits: ['check', 'click:export'],
448+
}
449+
```
450450

451451
- **See also**
452452
- [Guide - Fallthrough Attributes](/guide/components/attrs)

0 commit comments

Comments
 (0)