Closed dor1202 closed 1 year ago
Is there an event for leaving / closing the new window?
First of all, I apologize for the long delay. I believe you can use onUnload prop.
onUnload
<NewWindow onUnload={() => { // do something }} />
Is there an event for leaving / closing the new window?