Skip to content

Commit cdf7ca3

Browse files
committed
2.6: add a note about functional context scopedSlots also exposing normal slots
1 parent 1aa6780 commit cdf7ca3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v2/guide/render-function.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -536,7 +536,7 @@ Everything the component needs is passed through `context`, which is an object c
536536
- `props`: An object of the provided props
537537
- `children`: An array of the VNode children
538538
- `slots`: A function returning a slots object
539-
- `scopedSlots`: (2.6.0+) An object that exposes passed-in scoped slots
539+
- `scopedSlots`: (2.6.0+) An object that exposes passed-in scoped slots. Also exposes normal slots as functions.
540540
- `data`: The entire [data object](#The-Data-Object-In-Depth), passed to the component as the 2nd argument of `createElement`
541541
- `parent`: A reference to the parent component
542542
- `listeners`: (2.3.0+) An object containing parent-registered event listeners. This is an alias to `data.on`

0 commit comments

Comments
 (0)