From 2370f417b7685fd0a23e9c82f13f7cdf06389e3d Mon Sep 17 00:00:00 2001 From: Martin Lissmats Date: Fri, 12 Jul 2019 13:31:36 +0200 Subject: [PATCH] allow loop option to be any value --- src/lottie.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lottie.vue b/src/lottie.vue index 6dc4ae1..9860b76 100644 --- a/src/lottie.vue +++ b/src/lottie.vue @@ -30,7 +30,7 @@ this.anim = lottie.loadAnimation({ container: this.$refs.lavContainer, renderer: 'svg', - loop: this.options.loop !== false, + loop: this.options.loop, autoplay: this.options.autoplay !== false, animationData: this.options.animationData, rendererSettings: this.options.rendererSettings