onDestroy method
WidgetElement
onDestroy(
- dynamic fun()?
inherited
The event is activated when Widget is removed from the Reio Virtual DOM.
Implementation
WidgetElement onDestroy(Function()? fun) {
_node.onDestroy = fun;
return this;
}