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:
@@ -12,9 +12,9 @@ class RegisterPageElement extends HTMLElement {
|
||||
constructor() {
|
||||
super();
|
||||
}
|
||||
@update
|
||||
connectedCallback() {
|
||||
this.authService = new AuthService(this.appMain.appService);
|
||||
this.update();
|
||||
}
|
||||
|
||||
get values(): Object {
|
||||
@@ -50,7 +50,7 @@ class RegisterPageElement extends HTMLElement {
|
||||
return _return;
|
||||
}
|
||||
|
||||
render() {
|
||||
render = () => {
|
||||
return html`
|
||||
<form>
|
||||
<input-field
|
||||
@@ -83,9 +83,9 @@ class RegisterPageElement extends HTMLElement {
|
||||
</button>
|
||||
</form>
|
||||
`;
|
||||
}
|
||||
};
|
||||
|
||||
update() {
|
||||
update = () => {
|
||||
render(this.render(), this);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user