Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

reload sub component angular

this.router.navigateByUrl('/RefreshComponent', { skipLocationChange: true }).then(() => {
    this.router.navigate(['Your actualComponent']);
}); 
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #reload #component #angular
ADD COMMENT
Topic
Name
3+7 =