Skip to content

Commit 4f53f86

Browse files
committed
Update README
1 parent 49ac7f8 commit 4f53f86

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
@@ -84,10 +84,10 @@ Set to disable virtualization (the `onVisibleRangeChange` callback will still be
8484

8585
### Methods
8686

87-
### `resetOnIndex(index: number = 0, shouldUpdate: boolean = true): void`
87+
#### `resetOnIndex(index: number = 0, shouldUpdate: boolean = true): void`
8888
Rebuilds the items cached scrollOffset index on and after the specified index when called. Useful when the size of an item changes in your list, e.g. expanded/collapsed. By default calling this method will trigger an update, use `shouldUpdate` to override this behaviour.
8989

90-
### `scrollToItem(index: number): void`
90+
#### `scrollToItem(index: number): void`
9191
Scrolls to the specified item index when called. (The item aligns to the beginning of the list).
9292

9393
## Browser Support

0 commit comments

Comments
 (0)