nithi mano

nithi mano

  • NA
  • 200
  • 100.7k

How to use window.location.href in component.ts

May 2 2018 11:12 AM
How to use window.location.href in component.ts in angular 4.
 
I have the below jquery script in component.ts file.
  1. $('#nn').on('change'function() {  
  2. window.location.href='route.html';  
How to navigate to route.html page using window.location.href in component.ts file ??

Answers (3)