vue-lottie icon indicating copy to clipboard operation
vue-lottie copied to clipboard

vue-lottie (seemingly) not currently setup for use with canvas elements.

Open Jamesbillard12 opened this issue 6 years ago • 2 comments

On review of the current source code located at vue-lottie/src/lottie.vue, it seems that 'svg' has been hard coded in as the renderer for the animation instance. When I modified the source to accept user input I am noticing that if I select to use the 'canvas' option, on reload all of my animations disappear in chrome and firefox, but stay when using Edge. The 'svg' option is working in all the browsers I've tested. Is there something extra I need to be doing to keep this from happening with canvas elements?

https://github.com/chenqingspring/vue-lottie/blob/master/src/lottie.vue

Jamesbillard12 avatar Dec 28 '18 20:12 Jamesbillard12

same problem...

xing00 avatar Jul 21 '19 05:07 xing00

so am i, i am finding a way to solve it, bro

Doyouhavefreestyle avatar Aug 08 '21 04:08 Doyouhavefreestyle