Update docs
This commit is contained in:
10
README.md
10
README.md
@@ -143,7 +143,7 @@ Slot props:
|
||||
## Methods
|
||||
|
||||
### `goTo`
|
||||
Navigates to a page by index
|
||||
Navigates to a page by index. `(options) => Promise<void>`.
|
||||
|
||||
Arguments:
|
||||
|
||||
@@ -170,12 +170,12 @@ Arguments:
|
||||
```
|
||||
|
||||
### `goToPrev`
|
||||
Navigates to the previous page
|
||||
Navigates to the previous page. `(options) => Promise<void>`.
|
||||
|
||||
Arguments:
|
||||
|
||||
| Argument | Type | Default | Description |
|
||||
|--------------------|-------------|---------|---------------------------------------|
|
||||
|--------------------|-------------|---------|-------------------------------|
|
||||
| `options.animated` | `boolean` | `true` | Should it be animated or not |
|
||||
|
||||
```jsx
|
||||
@@ -196,12 +196,12 @@ Arguments:
|
||||
```
|
||||
|
||||
### `goToNext`
|
||||
Navigates to the next page
|
||||
Navigates to the next page. `(options) => Promise<void>`.
|
||||
|
||||
Arguments:
|
||||
|
||||
| Argument | Type | Default | Description |
|
||||
|--------------------|-------------|---------|---------------------------------------|
|
||||
|--------------------|-------------|---------|------------------------------|
|
||||
| `options.animated` | `boolean` | `true` | Should it be animated or not |
|
||||
|
||||
```jsx
|
||||
|
||||
@@ -375,12 +375,12 @@ Slot props:
|
||||
# Methods
|
||||
|
||||
## `goTo`
|
||||
Navigates to a page by index
|
||||
Navigates to a page by index. `(options) => Promise<void>`.
|
||||
|
||||
Arguments:
|
||||
|
||||
| Argument | Type | Default | Description |
|
||||
|--------------------|-------------|---------|---------------------------------------|
|
||||
|--------------------|-------------|---------|------------------------------|
|
||||
| `pageIndex` | `number` | | Page number |
|
||||
| `options.animated` | `boolean` | `true` | Should it be animated or not |
|
||||
|
||||
@@ -402,12 +402,12 @@ Arguments:
|
||||
```
|
||||
|
||||
## `goToPrev`
|
||||
Navigates to the previous page
|
||||
Navigates to the previous page. `(options) => Promise<void>`.
|
||||
|
||||
Arguments:
|
||||
|
||||
| Argument | Type | Default | Description |
|
||||
|--------------------|-------------|---------|---------------------------------------|
|
||||
|--------------------|-------------|---------|------------------------------|
|
||||
| `options.animated` | `boolean` | `true` | Should it be animated or not |
|
||||
|
||||
```jsx
|
||||
@@ -428,12 +428,12 @@ Arguments:
|
||||
```
|
||||
|
||||
## `goToNext`
|
||||
Navigates to the next page
|
||||
Navigates to the next page. `(options) => Promise<void>`.
|
||||
|
||||
Arguments:
|
||||
|
||||
| Argument | Type | Default | Description |
|
||||
|--------------------|-------------|---------|---------------------------------------|
|
||||
|--------------------|-------------|---------|------------------------------|
|
||||
| `options.animated` | `boolean` | `true` | Should it be animated or not |
|
||||
|
||||
```jsx
|
||||
|
||||
Reference in New Issue
Block a user