Hi,
Is there a way to call the methods of the component that you use to generate a popover?
Most questions about this are calling parent methods from the component but I need to find a way to do it the other way?
Thanks,
Doug
Hi,
Is there a way to call the methods of the component that you use to generate a popover?
Most questions about this are calling parent methods from the component but I need to find a way to do it the other way?
Thanks,
Doug
If you don’t get any better answers, I would rethink the design. IMHO components should never call one another’s methods. The only way they should interact with one another is via @Input and @Output properties. That way you maintain clear separation, which improves debugging, maintenance, and testing.
Hi rapropos,
Appreciate your response and I agree.
There is something wrong with the data binding on the popover as the values are not displayed when changed. For some reason, the screen values are updated only when I click somewhere on the screen… I could not figure out why this is happenning; hence, I was planning to force the update again yet still there is something wrong.
Anyway, I managed to call methods using static classes incase someone is curious.
Thanks,
Doug