mirror of
https://github.com/FJurmanovic/wallet-web.git
synced 2026-02-06 06:08:10 +00:00
implemented modals
This commit is contained in:
@@ -51,16 +51,20 @@ class AppLinkElement extends HTMLElement {
|
||||
|
||||
render = () => {
|
||||
return html`${this.disabled
|
||||
? html`<span data-target="app-link.main" style="color:grey"
|
||||
? html`<span
|
||||
class="btn btn-link btn-disabled"
|
||||
data-target="app-link.main"
|
||||
style="color:grey"
|
||||
>${this.title}</span
|
||||
>`
|
||||
: html`<span
|
||||
class="btn btn-link btn-disabled"
|
||||
data-target="app-link.main"
|
||||
data-action="click:app-link#goTo"
|
||||
style="text-decoration: underline; cursor: pointer;"
|
||||
>${this.title}</span
|
||||
>`}`;
|
||||
}
|
||||
};
|
||||
|
||||
update = () => {
|
||||
render(this.render(), this);
|
||||
|
||||
Reference in New Issue
Block a user