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) {
|
||||
console.log("onChanges", this.querySelector("h1"));
|
||||
Object.keys(changes).forEach((name) => {
|
||||
console.log(
|
||||
`${name} changed from ${changes[name].previousValue} to ${changes[name].currentValue}`
|
||||
);
|
||||
console.log(name, changes[name]);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue