--- In firstname.lastname@example.org
, "adam.kumpf" <adam.kumpf@...> wrote:
> For example, widgets can be added/removed at any time by the host page, but it might be nice to save some state before closing/removing a widget in case the user has modified it or interacted with it somehow.
> Any thoughts on how to play nicely with interactive, data-rich widgets?
You can call the widget's .remove() method.