Javascript event when popup is shown

Created on 16 February 2024, 4 months ago

Problem/Motivation

It would be very helpful if there were an event fired when a popup is shown, so other modules can react to it.

Proposed resolution

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.
});
✨ Feature request
Status

Needs review

Version

3.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024