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

Setting height and weight of animation using props

Open ghost opened this issue 4 years ago • 4 comments

Hi

How I can access height and width properties?

Thanks

ghost avatar Feb 06 '21 15:02 ghost

Hey @buczoprazy - can you give me more information about what you are trying to do?

garbit avatar Feb 09 '21 20:02 garbit

I am trying setup height and width picture size

That do not work: :width="256" :height="256

ghost avatar Feb 17 '21 23:02 ghost

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

hosemadev avatar Mar 10 '21 16:03 hosemadev

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.

whitespacecode avatar Jun 04 '21 09:06 whitespacecode

Any chance that will be added please?

devyodamaster avatar Nov 06 '21 13:11 devyodamaster