Skip to content
Snippets Groups Projects
detail.component.ts 350 B
Newer Older
Tifenn Guillas's avatar
Tifenn Guillas committed
import { Component, Input, ChangeDetectionStrategy } from '@angular/core';

@Component({
    selector: 'app-detail',
    templateUrl: 'detail.component.html',
    styleUrls: ['detail.component.css'],
    changeDetection: ChangeDetectionStrategy.OnPush
})
export class DetailComponent {
    @Input() title: string;
    @Input() idAttribute: number;
}