File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments