feat: camelCase backwards compatibility
This commit is contained in:
parent
fad385d5b6
commit
b73a62dc35
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue