Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

page reload button using angular

at template use event buinding:
	(click)="reloadCurrentPage()"
inside the .ts file, add the function,
reloadCurrentPage() {
    window.location.reload();
   }
Comment

PREVIOUS NEXT
Code Example
:: js sort string array 
::  
::  
::  
::  
::  
Javascript ::  
::  
:: jquery change selected option 
::  
:: redirect with javascript to another page 
::  
:: js sort by property 
Javascript ::  
Javascript ::  
Javascript ::  
Javascript ::  
:: open popup after 10 seconds javascript 
:: jquery page finished loading 
::  
:: falsy values in array 
Javascript ::  
Javascript ::  
Javascript ::  
Javascript :: js check if obj all false 
::  
Javascript :: javascript confirm delete 
::  
::  
:: web3.js get balance 
ADD CONTENT
Topic
Content
Source link
Name
3+4 =