You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'virtual-list':VirutalScrollList // Global name as `VirutalScrollList`
84
84
}
85
85
});
86
86
```
@@ -94,6 +94,8 @@ new Vue({
94
94
:--- | :--- | :--- | :--- |
95
95
| size | Number | ✓ | Each list item height, currently only supports fixed height. |
96
96
| remain | Number | ✓ | How many items except show in virtual-list viewport, so `size` and `remian` will determine the virtual-list outside container height (size × remian). |
97
+
| rtag | String | * | Default value is `div`, the virtual-list's root HTMLElement tag name, in all case it's style is set to `display: block;`|
98
+
| wtag | String | * | Default value is `div`, the virtual-list's item wrapper HTMLElement tag name, in all case it's style is set to `display: block;`|
97
99
| onScroll | Function | * | Call on virtual-list scroll event hanlding, param: `(e, scrollTop)`|
98
100
| toTop | Event | * | An event emit by virtual-list component when the list is scrolled on top. |
99
101
| toBottom | Event | * | An event emit by virtual-list component when the list is scrolled on bottom. |
0 commit comments