Methods of VList.
▸ scrollToIndex(index
): void
Scroll to the item specified by index.
Name | Type | Description |
---|---|---|
index |
number |
index of item |
void
▸ scrollTo(offset
): void
Scroll to the given offset.
Name | Type | Description |
---|---|---|
offset |
number |
offset from start |
void
▸ scrollBy(offset
): void
Scroll by the given offset.
Name | Type | Description |
---|---|---|
offset |
number |
offset from current position |
void
• Readonly
scrollOffset: number
Get current scrollTop or scrollLeft.
• Readonly
scrollSize: number
Get current scrollHeight or scrollWidth.
• Readonly
viewportSize: number
Get current offsetHeight or offsetWidth.