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

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be9f81-319c6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be9f81-319c6.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?