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

Setting height and weight of animation using props #1

Open
ghost opened this issue Feb 6, 2021 · 4 comments
Open

Setting height and weight of animation using props #1

ghost opened this issue Feb 6, 2021 · 4 comments

Comments

@ghost
Copy link

ghost commented Feb 6, 2021

Hi

How I can access height and width properties?

Thanks

@garbit
Copy link
Owner

garbit commented Feb 9, 2021

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

@ghost
Copy link
Author

ghost commented Feb 17, 2021

I am trying setup height and width picture size

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

@hosemadev
Copy link

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

@whitespacecode
Copy link

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.

@garbit garbit changed the title hight and weight Setting height and weight of animation using props Jul 15, 2021
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

3 participants