- Issue created by @bgreco
- Merge request !17Fire an event when popup is displayed for use by other modules → (Open) created by bgreco
- Status changed to Needs review
about 1 year ago 3:06pm 16 February 2024
It would be very helpful if there were an event fired when a popup is shown, so other modules can react to it.
Fire an event when the popup is shown. See merge request. Example usage:
$(window).on('simple_popup_blocks:shown', (e, selector) => {
// The selector can be used to locate the shown popup.
});
Needs review
3.0
Code