You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
XJC/src/app/components/home/cgu/cgu.component.ts

21 lines
375 B
TypeScript

import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
@Component({
selector: 'app-cgu',
templateUrl: './cgu.component.html',
styleUrls: ['./cgu.component.scss']
})
export class CguComponent implements OnInit {
constructor(private router: Router) { }
goToHome() {
this.router.navigate(['/']);
}
ngOnInit() {
}
}