refresh window typescript code example
Example 1: angular 8 ts refresh page
refresh(): void {
window.location.reload();
}
Example 2: reload page in typescript
window.location.reload();
refresh(): void {
window.location.reload();
}
window.location.reload();