Can angular @ Input parent components trigger events within child components by passing values to child components?

I use @ Input to define the value
@ Input () product:ProductModel;

within the subcomponent.

then change the product value when the parent component triggers the event and pass it to the child component
< details_main [product] = "product" > < / details_main >

I want to trigger an event to edit the passed product value after the product is passed to the subcomponent

how should this event be triggered, bosses?

Feb.26,2021

call a function in the template


calls OnChanges , and listens for changes once Input changes.

ide/lifecycle-hooks-sharpemonchangesem" rel=" nofollow noreferrer "> specific API

Menu