Skip to content

Commit

Permalink
Merge pull request #536 from adampash/patch-1
Browse files Browse the repository at this point in the history
docs: fix typo in README
  • Loading branch information
wellyshen committed Aug 12, 2023
2 parents 9688aee + afa4623 commit d8f82a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1153,7 +1153,7 @@ This method allows us to scroll to the specified item.
scrollToItem(10);

// Using options
scrollTo({
scrollToItem({
index: 10,
// Control the alignment of the item, acceptable values are: "auto" (default) | "start" | "center" | "end"
// Using "auto" will scroll the item into the view at the start or end, depending on which is closer
Expand Down

0 comments on commit d8f82a3

Please sign in to comment.