custom-elements-everywhere
custom-elements-everywhere copied to clipboard
Passing camelCase properties
It seems to me that libraries do not always appropriately handle camelCase property names the same way.
When using Vue and Svelte together, for example, I'm finding the only way to reliably pass properties is to use a single lowercase value such as textcolor
instead of textColor
.
However when using only Vue, it seems to pass and accept camelCased properties without issue.
Could this behavior be standardized?
Can you provide an example?