Add routing(id) vers page Details
This commit is contained in:
parent
f1d0af652b
commit
b81ebb7d89
4 changed files with 28 additions and 11 deletions
|
|
@ -1 +1,3 @@
|
|||
<p>page-details works!</p>
|
||||
<p (clickCardId) = "test($event)"></p>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
|
||||
@Component({
|
||||
selector: 'app-page-details',
|
||||
templateUrl: './page-details.component.html',
|
||||
|
|
@ -7,9 +8,15 @@ import { Component, OnInit } from '@angular/core';
|
|||
})
|
||||
export class PageDetailsComponent implements OnInit {
|
||||
|
||||
constructor() { }
|
||||
detailsPlant: any
|
||||
constructor() {
|
||||
}
|
||||
|
||||
ngOnInit(): void {
|
||||
|
||||
}
|
||||
|
||||
test(texte:any){
|
||||
console.log(texte);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue