Answers for "angular refresh component when click tab"

2

angular refresh page without reloading

this.router.navigate(['path/to'])
  .then(() => {
    window.location.reload();
  });
Posted by: Guest on January-06-2021
0

page reload button using angular

at template use event buinding:
	(click)="reloadCurrentPage()"
inside the .ts file, add the function,
reloadCurrentPage() {
    window.location.reload();
   }
Posted by: Guest on May-06-2021

Code answers related to "angular refresh component when click tab"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language