@AndreasK wrote:
Is there a way to get a reference of my @App instance in one of my @Page instances? Constructor injection in my @Page doesn't seem to work – i. e. “constructor(private _app: MyApp)”?
It’s probably not good idea and I could, of cause, use a service to communicate between both components. Are there any other ways to accomplish this? Like publishing/subscribing to events between components?
Posts: 2
Participants: 2