mirror of
https://github.com/FJurmanovic/wallet-web.git
synced 2026-02-06 06:08:10 +00:00
Merge branch 'feature/WW-26-architecture'
This commit is contained in:
@@ -74,9 +74,12 @@ class BaseElement extends HTMLElement {
|
|||||||
return html``;
|
return html``;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
updateCallback = (): void => {};
|
||||||
|
|
||||||
update = (): void => {
|
update = (): void => {
|
||||||
render(this.render(), this);
|
render(this.render(), this);
|
||||||
this.bindEvents();
|
this.bindEvents();
|
||||||
|
this.updateCallback();
|
||||||
};
|
};
|
||||||
|
|
||||||
connectedCallback(): void {
|
connectedCallback(): void {
|
||||||
|
|||||||
Reference in New Issue
Block a user