src/core/context/node.js
/**
   * Discovers the parent and the root. Runs asynchronously via scheduler.
   * @private
   */
Discovers the parent and the root. Runs asynchronously via scheduler.
@private
Discovers the parent and the root . Runs asynchronously via scheduler . @private
discover_() {
    if (!this.isDiscoverable()) {
      return;
    }
    const closestNode = ContextNode.closest(this.node,  false);
    const parent = closestNode?.findGroup(this.node) || closestNode;
    this.updateTree_(parent,  false);
  }
discover_ ( ) { if ( ! this . isDiscoverable ( ) ) { return ; } const closestNode = ContextNode . closest ( this . node , false ) ; const parent = closestNode ?. findGroup ( this . node ) || closestNode ; this . updateTree_ ( parent , false ) ; }
Discovers the parent and the root.
Discovers the parent and the root .
// The discoverability might have changed while this task was in the // queue. /* includeSelf */ /* parentOverridden */