Skip to content

Commit 40f1880

Browse files
xak2000phanan
authored andcommitted
Clarify that "slot-scope" is named "scope" before 2.5.0 (#1956)
* Clarify that "slot-scope" is named "scope" before 2.5.0 * Improve wording
1 parent 65028c0 commit 40f1880

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v2/guide/components-slots.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ Now when we use the `<todo-list>` component, we can optionally define an alterna
211211
</todo-list>
212212
```
213213

214-
> In 2.5.0+, `slot-scope` is no longer limited to the `<template>` element, but can instead be used on any element or component in the slot.
214+
> Before 2.5.0, `slot-scope` was named `scope` and was limited to the `<template>` element. Since 2.5.0, `slot-scope` doesn't have this limitation and can instead be used on any element or component in the slot.
215215
216216
### Destructuring `slot-scope`
217217

0 commit comments

Comments
 (0)