@redseed/redseed-ui-vue3 5.4.4 → 5.4.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redseed/redseed-ui-vue3",
3
- "version": "5.4.4",
3
+ "version": "5.4.5",
4
4
  "description": "RedSeed UI Vue 3 components",
5
5
  "main": "index.js",
6
6
  "repository": "https://github.com/redseedtraining/redseed-ui",
@@ -1,6 +1,6 @@
1
1
  import { ref, watchEffect } from 'vue'
2
2
 
3
- export function useLottie(elementRef, animationData = null) {
3
+ export function useLottie(elementRef, animationData = null, loop = true) {
4
4
 
5
5
  const lottieAnimation = ref(null)
6
6
 
@@ -24,7 +24,7 @@ export function useLottie(elementRef, animationData = null) {
24
24
  lottieAnimation.value = window.lottie.loadAnimation({
25
25
  container: elementRef.value,
26
26
  renderer: 'svg',
27
- loop: true,
27
+ loop: loop,
28
28
  autoplay: true,
29
29
  animationData: animationData
30
30
  })