@@ -375,14 +375,14 @@ Slot props:
375375# Methods
376376
377377## `goTo`
378- Navigates to a page by index
378+ Navigates to a page by index. `(options) => Promise<void>`.
379379
380380Arguments:
381381
382- | Argument | Type | Default | Description |
383- |--------------------|-------------|---------|--------------------------------------- |
384- | `pageIndex` | `number` | | Page number |
385- | `options.animated` | `boolean` | `true` | Should it be animated or not |
382+ | Argument | Type | Default | Description |
383+ |--------------------|-------------|---------|------------------------------|
384+ | `pageIndex` | `number` | | Page number |
385+ | `options.animated` | `boolean` | `true` | Should it be animated or not |
386386
387387```jsx
388388<script>
@@ -402,13 +402,13 @@ Arguments:
402402```
403403
404404## `goToPrev`
405- Navigates to the previous page
405+ Navigates to the previous page. `(options) => Promise<void>`.
406406
407407Arguments:
408408
409- | Argument | Type | Default | Description |
410- |--------------------|-------------|---------|--------------------------------------- |
411- | `options.animated` | `boolean` | `true` | Should it be animated or not |
409+ | Argument | Type | Default | Description |
410+ |--------------------|-------------|---------|------------------------------|
411+ | `options.animated` | `boolean` | `true` | Should it be animated or not |
412412
413413```jsx
414414<script>
@@ -428,13 +428,13 @@ Arguments:
428428```
429429
430430## `goToNext`
431- Navigates to the next page
431+ Navigates to the next page. `(options) => Promise<void>`.
432432
433433Arguments:
434434
435- | Argument | Type | Default | Description |
436- |--------------------|-------------|---------|--------------------------------------- |
437- | `options.animated` | `boolean` | `true` | Should it be animated or not |
435+ | Argument | Type | Default | Description |
436+ |--------------------|-------------|---------|------------------------------|
437+ | `options.animated` | `boolean` | `true` | Should it be animated or not |
438438
439439```jsx
440440<script>
0 commit comments