Languages

Menu
Sites
Language
Dynamic Box | Listen its events

Hi,

I would like to know if is possible to listen events of widget life cycle, mainly DISABLED (when my widget is removed from idle screen).

Because I would like to update some properties/states (by local storage) of my widget before its removal.

Is there any way (or API) for this?

Thanks,

Werner

 

 

Responses

1 Replies
AVSukhov

Hello,

When Dynamic Box is added "onload" event is triggered.

But I can not find an event that would be triggered when Dynamic Box is deleted.