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

It would be even better if you could set width for a property #24

Open
lmrwork opened this issue Jul 24, 2023 · 1 comment
Open

It would be even better if you could set width for a property #24

lmrwork opened this issue Jul 24, 2023 · 1 comment

Comments

@lmrwork
Copy link

lmrwork commented Jul 24, 2023

Thanks for your contribution, I really like this component.
It would be even better if you could set width for a property, like this:
new SidebarElement({ width:300 });

@lorenzodianni
Copy link
Member

Hi @lmrwork, you can already change width via CSS, what is the use case that fit with JS and not with CSS?

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