chore: update test component

This commit is contained in:
Ayo 2023-09-17 20:18:32 +02:00
parent e07c97b760
commit a5a39e314a

View file

@ -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]);
});
}