Popup

Home Search

Popup

The popup plugin has the following custom events:

opened triggered when a popup is opened

$( ".selector" ).popup({
   opened: function(event, ui) { ... }
});
			

This event is triggered when the popup has completely appeared on the screen, meaning that all associated animations have completed.

closed triggered when a popup is closed (by clicking outside of it)

$( ".selector" ).popup({
   closed: function(event, ui) { ... }
});
			

This event is triggered when the popup has completely disappeared from the screen, meaning that all associated animations have completed.