I need to call child component function from parent component html.
something like this:
child component:
export class childComponent {
private value: boolean;
@input()
setValue(inputVal){
this.value = inputVal;
}
}
parent component:
<childComponent [setValue] = "true"></childComponent>
Any ideas how can it be done?