1
0
mirror of https://github.com/avatao-content/frontend-tutorial-framework synced 2025-04-07 14:02:41 +00:00

Add url bar display

This commit is contained in:
balazs 2019-01-21 16:49:44 +01:00
parent fd297a6f5f
commit d4081f4751

@ -140,4 +140,8 @@ export class DashboardComponent implements OnInit, OnDestroy {
// change detection (not in the template like ConsoleComponent does)
element.scrollTop = element.scrollHeight;
}
iframeLoad(): void {
this.iframeUrl = this.webiframe.nativeElement.contentDocument.location.href.replace(document.baseURI, '/');
}
}