add debug print to navigate func
This commit is contained in:
parent
ab37445311
commit
a3775ed3ac
@ -14,7 +14,7 @@ export class AppComponent implements OnInit{
|
|||||||
ngOnInit(){
|
ngOnInit(){
|
||||||
document.addEventListener('GoChangeRoute_Callback', (event:any) => {
|
document.addEventListener('GoChangeRoute_Callback', (event:any) => {
|
||||||
this.router.navigate([event.detail])
|
this.router.navigate([event.detail])
|
||||||
console.log("here")
|
console.log("Navigating to route:" + event.detail)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
ngAfterViewInit(){
|
ngAfterViewInit(){
|
||||||
|
Loading…
Reference in New Issue
Block a user