Event On Before Hide

Hello,

does the event “onBeforeHide” exist for a window view? If not, is there a workaround? I need to finish a function before the window hides.

Thanks,
Martin

Hello Martin,

There’s no such event, so the only way is to execute all needed methods before calling hide() (or call it in the callback of async function)