Skip to content

Commit 6919528

Browse files
romanspchrisvfritz
authored andcommitted
fixed typo in Scoped Slots docs (#1229)
changed `scope-slot` to `slot-scope`
1 parent b9f59cb commit 6919528

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v2/guide/components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1025,7 +1025,7 @@ And the template for the list component:
10251025

10261026
#### Destructuring
10271027

1028-
`scope-slot`'s value is in fact a valid JavaScript expression that can appear in the argument position of a function signature. This means in supported environments (in single-file components or in modern browsers) you can also use ES2015 destructuring in the expression:
1028+
`slot-scope`'s value is in fact a valid JavaScript expression that can appear in the argument position of a function signature. This means in supported environments (in single-file components or in modern browsers) you can also use ES2015 destructuring in the expression:
10291029

10301030
``` html
10311031
<child>

0 commit comments

Comments
 (0)