json-dom
    Preparing search index...

    Variable getParentsByTagNameConst

    getParentsByTagName: (nodeName: string, item?: DomItem) => DomItem[] = ...

    Helper for getting all domGeneral.DomItems starting at child and having specified nodeName

    Type Declaration

      • (nodeName: string, item?: DomItem): DomItem[]
      • Parameters

        • nodeName: string

          The nodeName to search for

        • Optionalitem: DomItem

          The DomItem which may have parent items matching the attribute criteria

        Returns DomItem[]