w2popup.onToggle

Called when popup is maximized or minimized.
onToggle = function(event)
This event is emitted in addition to onMax or onMin and can be used for resizing of the content inside the popup, for example resizing a grid or a layout. Please note that you will need to user event.onComplete to trigger the resize when transition is complete.
You can add event listener during the object creation: or after popup is opened: The event handler is called before the default action of the event is triggered. You can cancel the default action by calling event.preventDefault(). To perform an action after the event is fully processed, define event.onComplete function.
See events page in utilities for more details.

User Comments

comments powered by Disqus