File tree 1 file changed +14
-14
lines changed
1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -433,20 +433,20 @@ Declare the custom events emitted by the component.
433
433
}
434
434
```
435
435
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
+ ```
450
450
451
451
- ** See also**
452
452
- [ Guide - Fallthrough Attributes] ( /guide/components/attrs )
You can’t perform that action at this time.
0 commit comments