Prop |
Type |
Default |
Description |
start |
Number |
0 |
Setting scroll position stay start index. |
offset |
Number |
0 |
Setting scroll position stay offset. |
scroll |
Event |
|
Emited when scrolling, param (event, range) . |
totop |
Event |
|
Emited when scrolled to top or left, no param. |
tobottom |
Event |
|
Emited when scrolled to bottom or right, no param. |
resized |
Event |
|
Emited when item resized (mounted), param (id, size) . |
direction |
String |
vertical |
Scroll direction, available values are vertical and horizontal |
page-mode |
Boolean |
false |
Let virtual list using global document to scroll through the list. |
top-threshold |
Number |
0 |
The threshold to emit totop event, attention to multiple calls. |
bottom-threshold |
Number |
0 |
The threshold to emit tobottom event, attention to multiple calls. |
root-tag |
String |
div |
Root element tag name. |
wrap-tag |
String |
div |
List wrapper element (role=group) tag name. |
wrap-class |
String |
|
List wrapper element class name. |
wrap-style |
Object |
{} |
List wrapper element inline style. |
item-tag |
String |
div |
Item wrapper element (role=item) tag name. |
item-class |
String |
|
Item wrapper element class name. |
item-class-add |
Function |
|
A function that you can return extra class (String) to item wrapper element, param (index) . |
item-style |
Object |
{} |
Item wrapper element inline style. |
item-scoped-slots |
Object |
{} |
The $scopedSlots for item component. |
header-tag |
String |
div |
For using header slot, header slot wrapper element (role=header) tag name. |
header-class |
String |
|
For using header slot, header slot wrapper element class name. |
header-style |
Object |
{} |
For using header slot, header slot wrapper element inline style. |
footer-tag |
String |
div |
For using footer slot, footer slot wrapper element (role=footer) tag name. |
footer-class |
String |
|
For using footer slot, footer slot wrapper element class name. |
footer-style |
Object |
{} |
For using using footer slot, footer slot wrapper element inline style. |