Can we change the private properties of components into protected? #1945
garvan2021
started this conversation in
Ideas
Replies: 1 comment
-
I don’t recommend extending the elements. That level of customization should probably be forked instead and it’s not a use case we want to support. If there’s something you find missing from a component, consider opening a discussion so we can consider adding it instead. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The components of shoelace are very fancy to use with lit, but when I want to make some extension to the components, like extends the components class and make some changes, the private property always get in the way and makes it hard to do so. I can understand that private property can protect member from access from outside of class, but is it also nessesary to do same at subclass?
Beta Was this translation helpful? Give feedback.
All reactions