@umbraco-cms/backoffice

    Function queryParentRoots

    • Traverses the roots and returns the first match. The minRoots parameter indicates how many roots should be traversed before we started matching with the query.

      Type Parameters

      • T

      Parameters

      • $elem: Element
      • query: string
      • minRoots: number = 0
      • roots: number = 0

      Returns null | T

    MMNEPVFCICPMFPCPTTAAATR