I have a parent component with the following code in the parent.component.html:
<app-child [idElement]=(idElement)></app-child>
In the child component, I have the input parameter like this:
@Input() idElement : number;
And also a function called
getSpecs()
I want the getSpecs()
function to be executed by the child when the input is modified by the parent. Is that possible?