Hi!
I need to fire some function on my page/component right after user clicks OK on an alert. Problem is, this alert is being handled by external service (our notificationService) so I can’t just set this callback as a button action because scope will be wrong (my service instead a component). How to solve that?
Instead firing my alert in notificationsService (alert.present()) I could return alert reference to a component and handle it there using alert.onDismiss() + alert.present() but maybe there is an another solution?