onClose / onLeave
dor1202 opened this issue · comments
Dor Schrieber commented
Is there an event for leaving / closing the new window?
Rubens Mariuzzo commented
First of all, I apologize for the long delay. I believe you can use onUnload
prop.
<NewWindow onUnload={() => {
// do something
}} />