#56 : Update docs
This commit is contained in:
@@ -102,8 +102,8 @@
|
||||
<Divider />
|
||||
|
||||
## Autoplay with pause on focus!anchorId:features-autoplay-pause-on-focus;
|
||||
**For desktop** - hover over the carousel to toggle the autoplay.
|
||||
**For touchable devices** - tap the carousel to toggle the autoplay.
|
||||
**For non-touchable devices** - hover over the carousel to pause the autoplay.
|
||||
|
||||
<Carousel
|
||||
autoplay
|
||||
@@ -271,7 +271,7 @@ Import component:
|
||||
| `autoplay` | `boolean` | `false` | Enables auto play of pages |
|
||||
| `autoplayDuration` | `number` | `3000` | Autoplay change interval (ms) |
|
||||
| `autoplayDirection` | `string` | `'next'` | Autoplay change direction (`next` or `prev`) |
|
||||
| `pauseOnFocus` | `boolean` | `false` | Pauses autoplay on focus (for desktop - hover over the carousel to toggle the autoplay, for touchable devices - tap the carousel to toggle the autoplay) |
|
||||
| `pauseOnFocus` | `boolean` | `false` | Pauses autoplay on focus (for touchable devices - tap the carousel to toggle the autoplay, for non-touchable devices - hover over the carousel to pause the autoplay) |
|
||||
| `autoplayProgressVisible` | `boolean` | `false` | Shows autoplay duration progress indicator |
|
||||
| `dots` | `boolean` | `true` | Current page indicator dots |
|
||||
| `timingFunction` | `string` | `'ease-in-out'` | CSS animation timing function |
|
||||
|
||||
Reference in New Issue
Block a user