added OnInit
This commit is contained in:
7
src/app/detail/detail.component.ts
Normal file → Executable file
7
src/app/detail/detail.component.ts
Normal file → Executable file
@@ -1,10 +1,13 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { Component, OnInit } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'app-detail',
|
||||
templateUrl: './detail.component.html',
|
||||
styleUrls: ['./detail.component.css']
|
||||
})
|
||||
export class DetailComponent {
|
||||
export class DetailComponent implements OnInit{
|
||||
|
||||
ngOnInit(): void {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user