Closed Jeerjmin closed 5 years ago
You can register a listener to the close event with Popup.addCloseListener(() => {});
. That callback will run on every close. But there's no way to add callbacks to the close
call. The only way at the moment is to register a close listener before you call close
and in the handler just remove the listener.
I would like to run the callback function after popup.close (). This is real?