Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

page reload button using angular

at template use event buinding:
	(click)="reloadCurrentPage()"
inside the .ts file, add the function,
reloadCurrentPage() {
    window.location.reload();
   }
 
PREVIOUS NEXT
Tagged: #page #reload #button #angular
ADD COMMENT
Topic
Name
9+4 =