From 06eb574160d834fc3c8be838c39a24d055fee0a4 Mon Sep 17 00:00:00 2001 From: Vadim Date: Tue, 20 Apr 2021 22:48:32 +0300 Subject: [PATCH] Update readme --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 98f2f2f..428f153 100644 --- a/README.md +++ b/README.md @@ -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 |