I have 5 dynamic objects out of those 5, I am referring to only 2 here:
objCache.tab1.page1.status: when cache enable from tabobjCache.page1.status: when cache enable from page
In my html and .ts file, I will use one of the above objects dynamically based on my cache level.
I am passing status as input parameter "receivedStatus" to my child component as below, where right side value (xyz...) will be either from object 1 or object 2 from above 2 dynamic objects based on cache level. I don't want to use if or switch condition in html for dynamic objects.
<child-component [receivedStatus]="xyz..."></child-component>
As in above syntax the right hand side assigned value is dynamic, child component input parameter don't detect value change event.
Is there any other way to track status change event only when status changed, I don't want any function which repeatedly call in DOM, it should call only when dynamic object status value got changed.