lottie-web-vue
lottie-web-vue copied to clipboard
Setting height and weight of animation using props
Hi
How I can access height and width properties?
Thanks
Hey @buczoprazy - can you give me more information about what you are trying to do?
I am trying setup height and width picture size
That do not work:
:width="256" :height="256
I am trying setup height and width picture size
That do not work:
:width="256" :height="256
You can try to add a css class on it with your desired with and height. It worked for me
Adding a class works. But it would be nice to pass :width and :height with component so it would be added in px to the element. So you don't need specific class.
Any chance that will be added please?