Skip to content

Commit 78296fc

Browse files
committed
Update README.md
1 parent 9cbd251 commit 78296fc

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,11 +125,12 @@ This mode can save a considerable amount of memory and performance. Props `item`
125125
},
126126
methods: {
127127
getItemprops (itemIndex) {
128-
const itemProps = getItemProp(itemIndex)
128+
// <item/> will render with following data object:
129+
// https://vuejs.org/v2/guide/render-function.html#The-Data-Object-In-Depth
129130
return {
130-
// <item/> will render with itemProps.
131-
// https://vuejs.org/v2/guide/render-function.html#createElement-Arguments
132-
props: itemProps
131+
props: itemProps,
132+
attrs: itemAttrs,
133+
...
133134
}
134135
}
135136
},
@@ -261,7 +262,7 @@ Here are some usefull public methods you can call via [`ref`](https://vuejs.org/
261262

262263
## Contributions
263264

264-
Welcome to improve vue-virtual-scroll-list with any issue, pull request or code review.
265+
Welcome to improve this vue component with any issue, pull request or code review!
265266

266267

267268
## Changelogs

0 commit comments

Comments
 (0)