Flow-Router Triggers

I’m wondering if it is possible to call a method of a component on the FlowRouter.triggers.enter and the FlowRouter.triggers.exit call back of FlowRouter? The method is on the main layout component.

Thanks

It is possible to call methods of any instantiated object.
But it feels strange to call enter triggers before there was any BlazeLayout rendered yet - for example during refresh etc.

Maybe you should ask how to solve your usecase, not if it is possible to do 1 exact thing.