onMount method

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

The event is activated when Widget is mounted in the Reio Virtual DOM.

Implementation

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