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