From d71d245a963bdd9e2d329cd84da3107b51fa08cd Mon Sep 17 00:00:00 2001 From: Vadim Date: Mon, 16 Aug 2021 16:33:08 +0300 Subject: [PATCH] #56 : Update docs --- README.md | 2 +- src/docs/Carousel.svx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 23267f7..bc48d86 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,7 @@ npm install svelte-carousel -D | `autoplay` | `boolean` | `false` | Enables autoplay 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 | diff --git a/src/docs/Carousel.svx b/src/docs/Carousel.svx index dd7bd10..0860b3e 100644 --- a/src/docs/Carousel.svx +++ b/src/docs/Carousel.svx @@ -102,8 +102,8 @@ ## 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.