Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

121
Views
Event Click Button for Service

I set the path in touting:

{ path:'home', conponent:homecompnent; }

app.component.html: <button(click)="routerLink=/home"

This is an error

Want to go to the home page while clicking?

Thank you

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

I solved it app.component

<button (click)="goToHome('home')"/>

app.component.ts

constructor(private router:Router){}

GOToHome(_pageName:string):void{
          this.router.navigate[`${_pageName}'];

app-routing

{path:'home',
  component:homecomponent
},
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!