#41 : Rename auto play to autoplay
This commit is contained in:
@@ -40,9 +40,9 @@ Import component
|
||||
| `infinite` | `boolean` | `true` | Infinite looping |
|
||||
| `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`) |
|
||||
| `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` | Pause autoplay on focus |
|
||||
| `dots` | `boolean` | `true` | Current page indicator dots |
|
||||
| `timingFunction` | `string` | `'ease-in-out'` | CSS animation timing function |
|
||||
|
||||
@@ -48,17 +48,17 @@
|
||||
let _duration = duration
|
||||
|
||||
/**
|
||||
* Enables auto play of pages
|
||||
* Enables autoplay of pages
|
||||
*/
|
||||
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
|
||||
|
||||
|
||||
@@ -28,17 +28,17 @@
|
||||
export let duration = 500
|
||||
|
||||
/**
|
||||
* Enables auto play of pages
|
||||
* Enables autoplay of pages
|
||||
*/
|
||||
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
|
||||
|
||||
|
||||
@@ -28,17 +28,17 @@
|
||||
export let duration = 500
|
||||
|
||||
/**
|
||||
* Enables auto play of pages
|
||||
* Enables autoplay of pages
|
||||
*/
|
||||
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
|
||||
|
||||
|
||||
@@ -28,17 +28,17 @@
|
||||
export let duration = 500
|
||||
|
||||
/**
|
||||
* Enables auto play of pages
|
||||
* Enables autoplay of pages
|
||||
*/
|
||||
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
|
||||
|
||||
|
||||
@@ -214,9 +214,9 @@ Import component
|
||||
| `infinite` | `boolean` | `true` | Infinite looping |
|
||||
| `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`) |
|
||||
| `autoplay` | `boolean` | `false` | Enables autoplay of pages |
|
||||
| `autoplayDuration` | `number` | `3000` | Autoplay change interval (ms) |
|
||||
| `autoplayDirection` | `string` | `'next'` | Autoplay change direction (`next` or `prev`) |
|
||||
| `dots` | `boolean` | `true` | Current page indicator dots |
|
||||
| `pauseOnFocus` | `boolean` | `false` | Pause autoplay on focus |
|
||||
| `timingFunction` | `string` | `'ease-in-out'` | CSS animation timing function |
|
||||
|
||||
Reference in New Issue
Block a user