#31 : Fix spelling 'auto play' -> autoplay
This commit is contained in:
@@ -41,8 +41,8 @@ Import component
|
||||
| `initialPageIndex` | `number` | `0` | Page to start on |
|
||||
| `duration` | `number` | `500` | Transition duration (ms) |
|
||||
| `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`) |
|
||||
| `autoplayDuration` | `number` | `3000` | Autoplay change interval (ms) |
|
||||
| `autoplayDirection` | `string` | `'next'` | Autoplay 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 |
|
||||
|
||||
@@ -72,12 +72,12 @@
|
||||
export let autoplay = false
|
||||
|
||||
/**
|
||||
* Auto play change interval (ms)
|
||||
* Autoplay change interval (ms)
|
||||
*/
|
||||
export let autoplayDuration = 3000
|
||||
|
||||
/**
|
||||
* Auto play change direction ('next', 'prev')
|
||||
* Autoplay change direction ('next', 'prev')
|
||||
*/
|
||||
export let autoplayDirection = NEXT
|
||||
|
||||
|
||||
@@ -32,12 +32,12 @@
|
||||
export let autoplay = false
|
||||
|
||||
/**
|
||||
* Auto play change interval
|
||||
* Autoplay change interval
|
||||
*/
|
||||
export let autoplayDuration = 3000
|
||||
|
||||
/**
|
||||
* Auto play change direction ('next', 'prev')
|
||||
* Autoplay change direction ('next', 'prev')
|
||||
*/
|
||||
export let autoplayDirection = 'next'
|
||||
|
||||
|
||||
@@ -32,12 +32,12 @@
|
||||
export let autoplay = false
|
||||
|
||||
/**
|
||||
* Auto play change interval
|
||||
* Autoplay change interval
|
||||
*/
|
||||
export let autoplayDuration = 3000
|
||||
|
||||
/**
|
||||
* Auto play change direction ('next', 'prev')
|
||||
* Autoplay change direction ('next', 'prev')
|
||||
*/
|
||||
export let autoplayDirection = 'next'
|
||||
|
||||
|
||||
@@ -32,12 +32,12 @@
|
||||
export let autoplay = false
|
||||
|
||||
/**
|
||||
* Auto play change interval
|
||||
* Autoplay change interval
|
||||
*/
|
||||
export let autoplayDuration = 3000
|
||||
|
||||
/**
|
||||
* Auto play change direction ('next', 'prev')
|
||||
* Autoplay change direction ('next', 'prev')
|
||||
*/
|
||||
export let autoplayDirection = 'next'
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@
|
||||
|
||||
## Autoplay
|
||||
<Carousel
|
||||
autoplay={true}
|
||||
autoplay
|
||||
autoplayDuration={2000}
|
||||
>
|
||||
{#each colors as { color, text } (color)}
|
||||
@@ -65,7 +65,7 @@
|
||||
|
||||
```jsx
|
||||
<Carousel
|
||||
autoplay={true}
|
||||
autoplay
|
||||
autoplayDuration={2000}
|
||||
>
|
||||
{#each colors as { color, text } (color)}
|
||||
|
||||
Reference in New Issue
Block a user