Merge pull request #42 from vadimkorr/feature/#41_Rename-auto-play

feature/#41 Rename auto play
This commit is contained in:
Vadim
2021-07-15 13:10:57 +03:00
committed by GitHub
6 changed files with 18 additions and 18 deletions

View File

@@ -40,9 +40,9 @@ Import component
| `infinite` | `boolean` | `true` | Infinite looping | | `infinite` | `boolean` | `true` | Infinite looping |
| `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 autoplay 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

@@ -48,17 +48,17 @@
let _duration = duration let _duration = duration
/** /**
* Enables auto play of pages * Enables autoplay of pages
*/ */
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

@@ -28,17 +28,17 @@
export let duration = 500 export let duration = 500
/** /**
* Enables auto play of pages * Enables autoplay of pages
*/ */
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

@@ -28,17 +28,17 @@
export let duration = 500 export let duration = 500
/** /**
* Enables auto play of pages * Enables autoplay of pages
*/ */
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

@@ -28,17 +28,17 @@
export let duration = 500 export let duration = 500
/** /**
* Enables auto play of pages * Enables autoplay of pages
*/ */
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

@@ -214,9 +214,9 @@ Import component
| `infinite` | `boolean` | `true` | Infinite looping | | `infinite` | `boolean` | `true` | Infinite looping |
| `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 autoplay 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`) |
| `dots` | `boolean` | `true` | Current page indicator dots | | `dots` | `boolean` | `true` | Current page indicator dots |
| `pauseOnFocus` | `boolean` | `false` | Pause autoplay on focus | | `pauseOnFocus` | `boolean` | `false` | Pause autoplay on focus |
| `timingFunction` | `string` | `'ease-in-out'` | CSS animation timing function | | `timingFunction` | `string` | `'ease-in-out'` | CSS animation timing function |