Merge branch 'feature/WW-26-architecture'

This commit is contained in:
Fran Jurmanović
2021-06-04 17:02:43 +02:00

View File

@@ -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 {