diff --git a/README.md b/README.md index ce55f02..bcb8a91 100644 --- a/README.md +++ b/README.md @@ -144,7 +144,7 @@ Slot props: ## Methods ### `goTo` -Navigates to a page by index. `(options) => Promise`. +Navigates to a page by index. `(pageIndex, options) => Promise`. Arguments: diff --git a/src/docs/Carousel.svx b/src/docs/Carousel.svx index 15c65ec..de863c8 100644 --- a/src/docs/Carousel.svx +++ b/src/docs/Carousel.svx @@ -380,7 +380,7 @@ Slot props: # Methods ## `goTo` -Navigates to a page by index. `(options) => Promise`. +Navigates to a page by index. `(pageIndex, options) => Promise`. Arguments: