Skip to content

TypeScript code snippet – How to navigate without realoding angular?

import { Location } from '@angular/common';

constructor(private location: Location) { }

this.location.replaceState('/profile');
See also  How to apply linear gradient to text in CSS?

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.