Angular - @Input
employee.ts
export interface IEmployee {
id: number;
code: string;
name: string;
salary: number;
}
parent-component.component.ts
import { Component, OnInit } from '@angular/core';
import { IEmployee } from './employee';
@Component({
selec...
dotnetbees.com1 min read
sandeep negi
learn , relearn and share
loved this short and consise and to the point blogpost