my parent component html:
<app-calendar-component [view]="calView" [callback]="calendarOptions" ></app-calendar-component>
<app-weekdetails-component *ngIf="test"></app-weekdetails-component>
my parent component ts:
public test:boolean=false;
appCalendarComponent:
ngOnInit(){
Calling services here and using data, after this process I need to set
my variable test to be true which is defined in parent component.
}
So I need to set variable test to be true when 1st child(appCalendarComponent) is initialized.