Skip to content

Commit 6a7981c

Browse files
committed
Update readme
1 parent f573273 commit 6a7981c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Root component:
6565
```vue
6666
<template>
6767
<div>
68-
<virtual-list
68+
<virtual-list style="height: 360px; overflow-y: auto;" // make list scrollable
6969
:data-key="'uid'"
7070
:data-sources="items"
7171
:data-component="itemComponent"
@@ -84,7 +84,7 @@ Root component:
8484
return {
8585
itemComponent: Item,
8686
items: [{uid: 'unique_1', text: 'abc'}, {uid: 'unique_2', text: 'xyz'}, ...],
87-
otherDataAssginToItemComponet: 'The Progressive JavaScript Framework',
87+
otherDataAssginToItemComponet: 'The Progressive JavaScript Framework'
8888
}
8989
},
9090
components: { 'virtual-list': VirtualList }

0 commit comments

Comments
 (0)