chore: update test component
This commit is contained in:
parent
e07c97b760
commit
a5a39e314a
1 changed files with 2 additions and 3 deletions
|
@ -16,10 +16,9 @@ export class HelloWorld extends WebComponent {
|
||||||
}
|
}
|
||||||
|
|
||||||
onChanges(changes) {
|
onChanges(changes) {
|
||||||
|
console.log("onChanges", this.querySelector("h1"));
|
||||||
Object.keys(changes).forEach((name) => {
|
Object.keys(changes).forEach((name) => {
|
||||||
console.log(
|
console.log(name, changes[name]);
|
||||||
`${name} changed from ${changes[name].previousValue} to ${changes[name].currentValue}`
|
|
||||||
);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue