Metode anak panggilan sudut dari orang tua

// How to call a child method from a parent component

import { ChildComponent } from '/somepath/childcomponent.ts';

export class ParentComponent implements onInit {
  
  @ViewChild(ChildComponent) ChildComponent;
  
  this.ChildComponent.childMethod();
Banana in Transit