registerComponentDomNode method

void registerComponentDomNode(
  1. Component component,
  2. Node dom
)

Stores the root DOM node for a component. Called by createDom once the Element for a component's root is created.

Implementation

void registerComponentDomNode(Component component, Node dom) {
  _componentNodes.putIfAbsent(component, () => dom);
}