onAdd method

WidgetElement onAdd(
  1. dynamic fun(
    1. Element
    )?
)
inherited

The event is activated when an WidgetElement is added to the HTML DOM.

Implementation

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