#31 : Fix spelling 'auto play' -> autoplay

This commit is contained in:
Vadim
2021-07-03 22:59:11 +03:00
parent 930ec9f6ae
commit ac21022d49
6 changed files with 12 additions and 12 deletions

View File

@@ -41,8 +41,8 @@ Import component
| `initialPageIndex` | `number` | `0` | Page to start on | | `initialPageIndex` | `number` | `0` | Page to start on |
| `duration` | `number` | `500` | Transition duration (ms) | | `duration` | `number` | `500` | Transition duration (ms) |
| `autoplay` | `boolean` | `false` | Enables auto play of pages | | `autoplay` | `boolean` | `false` | Enables auto play of pages |
| `autoplayDuration` | `number` | `3000` | Auto play change interval (ms) | | `autoplayDuration` | `number` | `3000` | Autoplay change interval (ms) |
| `autoplayDirection` | `string` | `'next'` | Auto play change direction (`next` or `prev`) | | `autoplayDirection` | `string` | `'next'` | Autoplay change direction (`next` or `prev`) |
| `pauseOnFocus` | `boolean` | `false` | Pause autoplay on focus | | `pauseOnFocus` | `boolean` | `false` | Pause autoplay on focus |
| `dots` | `boolean` | `true` | Current page indicator dots | | `dots` | `boolean` | `true` | Current page indicator dots |
| `timingFunction` | `string` | `'ease-in-out'` | CSS animation timing function | | `timingFunction` | `string` | `'ease-in-out'` | CSS animation timing function |

View File

@@ -72,12 +72,12 @@
export let autoplay = false export let autoplay = false
/** /**
* Auto play change interval (ms) * Autoplay change interval (ms)
*/ */
export let autoplayDuration = 3000 export let autoplayDuration = 3000
/** /**
* Auto play change direction ('next', 'prev') * Autoplay change direction ('next', 'prev')
*/ */
export let autoplayDirection = NEXT export let autoplayDirection = NEXT

View File

@@ -32,12 +32,12 @@
export let autoplay = false export let autoplay = false
/** /**
* Auto play change interval * Autoplay change interval
*/ */
export let autoplayDuration = 3000 export let autoplayDuration = 3000
/** /**
* Auto play change direction ('next', 'prev') * Autoplay change direction ('next', 'prev')
*/ */
export let autoplayDirection = 'next' export let autoplayDirection = 'next'

View File

@@ -32,12 +32,12 @@
export let autoplay = false export let autoplay = false
/** /**
* Auto play change interval * Autoplay change interval
*/ */
export let autoplayDuration = 3000 export let autoplayDuration = 3000
/** /**
* Auto play change direction ('next', 'prev') * Autoplay change direction ('next', 'prev')
*/ */
export let autoplayDirection = 'next' export let autoplayDirection = 'next'

View File

@@ -32,12 +32,12 @@
export let autoplay = false export let autoplay = false
/** /**
* Auto play change interval * Autoplay change interval
*/ */
export let autoplayDuration = 3000 export let autoplayDuration = 3000
/** /**
* Auto play change direction ('next', 'prev') * Autoplay change direction ('next', 'prev')
*/ */
export let autoplayDirection = 'next' export let autoplayDirection = 'next'

View File

@@ -55,7 +55,7 @@
## Autoplay ## Autoplay
<Carousel <Carousel
autoplay={true} autoplay
autoplayDuration={2000} autoplayDuration={2000}
> >
{#each colors as { color, text } (color)} {#each colors as { color, text } (color)}
@@ -65,7 +65,7 @@
```jsx ```jsx
<Carousel <Carousel
autoplay={true} autoplay
autoplayDuration={2000} autoplayDuration={2000}
> >
{#each colors as { color, text } (color)} {#each colors as { color, text } (color)}