Update readme

This commit is contained in:
Vadim
2021-04-20 22:48:32 +03:00
parent a9fc98d36f
commit 06eb574160

View File

@@ -42,12 +42,13 @@ Import component and styles in App component
| `autoplay` | `boolean` | `false` | Enables auto play of pages |
| `autoplayDuration` | `number` | `3000` | Auto play change interval (ms) |
| `autoplayDirection` | `string` | `'next'` | Auto play change direction (`next` or `prev`) |
| `pauseOnFocus` | `boolean` | `false` | Pause autoplay on focus |
| `dots` | `boolean` | `true` | Current page indicator dots |
| `timingFunction` | `string` | `'ease-in-out'` | CSS animation timing function |
# Events
## Events
## `pageChange`
### `pageChange`
Is dispatched on page change
| Payload field | Type | Description |