registerView function

DomView registerView({
  1. required Element root,
  2. required DomBuilderFn<Element, Event> builderFn,
  3. bool skipInitialUpdate = false,
})

Register DOM view in browser.

Implementation

DomView registerView({
  required Element root,
  required DomBuilderFn<Element, Event> builderFn,
  bool skipInitialUpdate = false,
}) {
  final view = _View(root, builderFn);
  if (!skipInitialUpdate) view.update();
  return view;
}