inject method

void inject(
  1. Element? htmlElement
)

Mounts the widget directly to the HTML element (htmlElement), used to insert in HTML element if Reio was not previously inserted in it.

Implementation

void inject(Element? htmlElement) {
  if (htmlElement == null) return;
  initialize(htmlElement, true);
}