registerContentRoot function

void registerContentRoot(
  1. Element element
)

Registers element as an additional location to search for components.

This method should be used to register elements that are not contained by the app's root component.

Implementation

void registerContentRoot(html.Element element) {
  if (isDevToolsEnabled) {
    Inspector.instance.registerContentRoot(element);
  }
}