ah
Former-commit-id: ea1f89d9f831b7027723ffbe2b5940db315ff47c
This commit is contained in:
@@ -78,7 +78,7 @@ export class Component extends HTMLElement {
|
||||
|
||||
attributeChangedCallback(name, newValue) {
|
||||
console.log(`attribute changed: ${name} ${newValue}`);
|
||||
this.Update(Object.bind(this, name, {
|
||||
this.Update(Object.bind(this)(name, {
|
||||
...this.state,
|
||||
[name]: newValue,
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user