Skip to content

Commit 26ac8a9

Browse files
committed
add named slot to render function guide
1 parent b055026 commit 26ac8a9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/guide/render-function.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,8 @@ One thing to note: similar to how `v-bind:class` and `v-bind:style` have special
160160
nativeOn: {
161161
click: this.nativeClickHandler
162162
},
163+
// The name of a slot if the child of a component
164+
slot: 'name-of-slot'
163165
// Other special top-level properties
164166
key: 'myKey',
165167
ref: 'myRef'

0 commit comments

Comments
 (0)