Skip to content

Commit 740adbb

Browse files
committed
improve description of render function slot option
1 parent a4bde86 commit 740adbb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/v2/guide/render-function.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,8 @@ One thing to note: similar to how `v-bind:class` and `v-bind:style` have special
179179
scopedSlots: {
180180
default: props => createElement('span', props.text)
181181
},
182-
// The name of a slot if the child of a component
182+
// The name of the slot, if this component is the
183+
// child of another component
183184
slot: 'name-of-slot'
184185
// Other special top-level properties
185186
key: 'myKey',

0 commit comments

Comments
 (0)