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

How to set width of av-line width to 100%? #143

Open
ricky11 opened this issue Nov 16, 2023 · 2 comments
Open

How to set width of av-line width to 100%? #143

ricky11 opened this issue Nov 16, 2023 · 2 comments

Comments

@ricky11
Copy link

ricky11 commented Nov 16, 2023

I can set the width using canv-width in pixel, but how would i fill the parent container, 100% would do this.

i am using version 2.5 for vue 2.

@staskobzar
Copy link
Owner

canvas does not provide relative percentage value, unfortunately.
You will have to find a way to provide numeric value.

@ricky11
Copy link
Author

ricky11 commented Nov 17, 2023

Thanks.. will have to us a computed value in js to cal the width.

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