Update docs

This commit is contained in:
Vadim
2021-06-29 11:29:20 +03:00
parent f2cf47b8d4
commit d12fc14fdf
2 changed files with 47 additions and 4 deletions

View File

@@ -146,15 +146,14 @@ Navigates to a page by index
Arguments:
| Prop | Type | Default | Description |
| Argument | Type | Default | Description |
|--------------------|-------------|---------|---------------------------------------|
| `pageIndex` | `number` | | Page number |
| `options.animated` | `boolean` | `true` | Should be animated or not |
| `options.animated` | `boolean` | `true` | Should it be animated or not |
```jsx
<script>
// ...
let carousel;
function goToStartPage() {
carousel.goTo(0, { animated: false })