Answers for "angular redirect on submit"

0

angular redirect on submit

constructor(private router: Router) { }

onSubmit() {
  // some stuff
  this.router.navigate(['/search']);
}
Posted by: Guest on January-05-2021

Code answers related to "TypeScript"

Browse Popular Code Answers by Language