Detected if PWA is closing

Hello,

im using Vaadin 14.4.4. Is it possible to define a listener which is fired when the PWA or tab is closed/reloded?

Best
Jan

Did you consider using the Beacon API? For example implementation see, https://cookbook.vaadin.com/notice-closed

I will have a look at this approach, thank you very much!