Skip to main content
Nintex Community Menu Bar

Add a beforeClose" event handler to a popup"

  • Jun 21, 2024 11:08 PM UTC
  • 2 replies
  • 5 views
  • Translate All

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
  • Jun 21, 2024 11:25 PM UTC

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

Translate

Forum|alt.badge.img+1
  • Known Participant
  • Jun 21, 2024 11:25 PM UTC

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

Translate