diff --git a/packages/vue-virtual-scroller/README.md b/packages/vue-virtual-scroller/README.md index f978270a..3954c9a1 100644 --- a/packages/vue-virtual-scroller/README.md +++ b/packages/vue-virtual-scroller/README.md @@ -240,6 +240,10 @@ Example: ``` +### Methods + +* `scrollToItem(index)` - Scrolls to the item at the given index. +* `scrollToPosition(position)` - Scrolls to the given position in pixels. ### Page mode @@ -388,6 +392,11 @@ Extends all the RecycleScroller scoped slot props. Extends all the RecycleScroller other slots. +### Methods + +* `scrollToItem(index)` - Scrolls to the item at the given index. +* `scrollToBottom()` - Scrolls to the end of the list. + ## DynamicScrollerItem The component that should wrap all the items in a DynamicScroller.