feat: camelCase backwards compatibility

This commit is contained in:
Ayo 2023-11-18 00:45:35 +01:00
parent fad385d5b6
commit b73a62dc35

View file

@ -125,7 +125,7 @@ export class WebComponent extends HTMLElement {
if (previousValue !== currentValue) {
this[property] = currentValue === "" || currentValue;
this[camelCaps] = this[property]; // remove on v2
this.props[camelCaps] = this[property];
this.render();