onRemove method

WidgetElement onRemove(
  1. dynamic fun()?
)
inherited

The event is activated when an WidgetElement is removed from the HTML DOM.

Implementation

WidgetElement onRemove(Function()? fun) {
  _node.onRemove = fun;
  return this;
}