[Magnific Popup] Close event

Forge Component
Published on 2019-06-26 by Matheus Medeiros
5 votes
Published on 2019-06-26 by Matheus Medeiros

I tried this popup because I hoped that it would send an event when the popup is closed. This is, as far I can see, not the case. 

Would it be possible to add an event that triggers when the popup is closed (with the native close icon in the upper right corner)? 

Hi Vincent,

In order to notify when the popup is closed, you will have to enable the IsModal property (to hide the default close button) and create your own close button with an Screen Action that will call the Magnific_Popup_Notify to notify the parent and then use the Magnific_Popup_Close to close it.