json-dom
    Preparing search index...

    Function getItemPath

    • The path from the root to an item: the index of the item among its parent's children, at each level from the top down. An empty array means the item is the root itself. WARNING: This is a recursive function.

      Parameters

      • item: DomItem

        The DomItem to find the path of.

      Returns ItemPath