mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2024-12-05 02:41:32 +00:00
Add url bar display
This commit is contained in:
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, '/');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user