Horje
routerlink for button in angular 7 Code Example
add a route to a buttoin in angular
<button type="button" class="btn btn-primary-outline pull-right" (click)="btnClick();"><i class="fa fa-plus"></i> Add</button>    

// myComponent.component.ts file 
import { Router } from '@angular/router';

constructor(private router: Router) {

}
// myComponent.component.thml
btnClick= function () {
        this.router.navigateByUrl('/user');
};
routerlink for button in angular 7
<a rel="nofollow" routerLink="/">Go To Home</a>




Whatever

Related
data warehousing Code Example data warehousing Code Example
flask_mail Code Example flask_mail Code Example
button routing Code Example button routing Code Example
seaborn correlation heatmap Code Example seaborn correlation heatmap Code Example
how to read file in r Code Example how to read file in r Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
7