mirror of
https://github.com/FJurmanovic/wallet-web.git
synced 2026-02-06 06:08:10 +00:00
created main shadow element to store main app
This commit is contained in:
@@ -7,7 +7,7 @@ class RouterService {
|
||||
private domEvents: any = {
|
||||
routechanged: new Event("routechanged"),
|
||||
};
|
||||
constructor(private mainRoot: Element) {}
|
||||
constructor(private mainRoot: ShadowRoot | HTMLElement) {}
|
||||
|
||||
get routerState() {
|
||||
const historyLen = this.historyStack?.length;
|
||||
|
||||
Reference in New Issue
Block a user