Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

loop number not working for me #33

Open
dhruvbhatia7 opened this issue Apr 23, 2019 · 1 comment
Open

loop number not working for me #33

dhruvbhatia7 opened this issue Apr 23, 2019 · 1 comment

Comments

@dhruvbhatia7
Copy link

dhruvbhatia7 commented Apr 23, 2019

loop: number is not working for me. Setting it to true or false works

<lottie :options="defaultOptions" :height="100" :width="100" v-on:animCreated="handleAnimation"/>

data() {
return {

defaultOptions: {
animationData: animationData.default,
loop: 2, // <== not working for me
autoplay: true
},
animationSpeed: 1
}
}

@dalys
Copy link

dalys commented Jul 12, 2019

I made a PR to fix this #37 hopefully @chenqingspring can take a look and merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants