Skip to main content
Nintex Community Menu Bar

Add a beforeClose" event handler to a popup"

  • June 21, 2024
  • 2 replies
  • 0 views

Forum|alt.badge.img+1

For those of you wondering how to add an event handler to a skuid popup for any event (i.e. “close”, “beforeClose”, etc) here’s a simple line of code you can run once the popup opens.

skuid.$(".ui-dialog-content").dialog({<br>"beforeClose" : function()<br> {<br> //put your event-handler code here.<br> console.log(arguments);<br> }<br>})

This topic has been closed for replies.

2 replies

Forum|alt.badge.img+1
  • Inspiring
  • June 21, 2024

Thanks Mordechai - appreciate you contributing to the Skuid Body of Knowledge… 


Forum|alt.badge.img+1
  • Known Participant
  • June 21, 2024

Is this possible to use for a drawer as well to run actions before the drawer closes?