Skip to main content
Participant
July 6, 2021
Question

adobe html extension close event

  • July 6, 2021
  • 1 reply
  • 165 views

Hi everyone!
I recently start to develope adobe html/ javascript extensions 

and started with after effect.
the issu is that I need to store some data in localstorage when user "close" or "isClosing" the extension panel from "x" button or menu > "close panel"
I cannot find anything , anywhere at all!

I hope somebody can help me to find closing/onclose/unload or something like these events of extension panel.

 

This topic has been closed for replies.

1 reply

Justin Taylor-Hyper Brew
Community Expert
Community Expert
September 28, 2021

Yea I think the standard onClose onUnload don't work. I've heard com.adobe.event.unloadDissolveExtension is supposed to work but I haven't had any success with it. I'd recommend saving data as you go, each time the user changes a preference, etc instead of when they close the panel.