mirror of
https://github.com/FJurmanovic/wallet-web.git
synced 2026-11-11 07:41:09 +00:00
implemented loaders
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
import { html, render, TemplateResult } from "@github/jtml";
|
||||
import { AppMainElement, AppModalElement, AppRootElement } from "components/";
|
||||
import {
|
||||
AppLoaderElement,
|
||||
AppMainElement,
|
||||
AppModalElement,
|
||||
AppRootElement,
|
||||
} from "components/";
|
||||
import { AppService, RouterService } from "core/services";
|
||||
import { AuthStore } from "core/store";
|
||||
import { closest } from "core/utils";
|
||||
@@ -33,6 +38,9 @@ class BaseElement extends HTMLElement {
|
||||
public get mainRoot(): AppRootElement {
|
||||
return this.appMain?.mainRoot;
|
||||
}
|
||||
public get appLoader(): AppLoaderElement {
|
||||
return this.appMain?.appLoader;
|
||||
}
|
||||
|
||||
public get isAuth(): boolean {
|
||||
return this.appMain?.isAuth();
|
||||
|
||||
Reference in New Issue
Block a user