mirror of
https://github.com/FJurmanovic/wallet-web.git
synced 2026-02-06 06:08:10 +00:00
multiple changes
WW-26 - render and update methods are now arrow functions WW-18 - created history page for listing transactions WW-12 - list wallets on menu
This commit is contained in:
@@ -11,16 +11,16 @@ class AppShadowElement extends HTMLElement {
|
||||
super();
|
||||
}
|
||||
|
||||
@update
|
||||
connectedCallback() {
|
||||
this.attachShadow({ mode: "open" });
|
||||
this.update();
|
||||
}
|
||||
|
||||
render() {
|
||||
render = () => {
|
||||
return html` <app-main></app-main> `;
|
||||
}
|
||||
};
|
||||
|
||||
update() {
|
||||
update = () => {
|
||||
render(this.render(), this.shadowRoot!);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user