page reload button using angular code example
Example: page reload button using angular
at template use event buinding:
(click)="reloadCurrentPage()"
inside the .ts file, add the function,
reloadCurrentPage() {
window.location.reload();
}
at template use event buinding:
(click)="reloadCurrentPage()"
inside the .ts file, add the function,
reloadCurrentPage() {
window.location.reload();
}