Function getReference

  • Helper function for to determine schema valid reference for OpenSCD core Insert event. !! only valid with Edition 2.1 projects (2007B4)

    Parameters

    • parent: Element

      The parent element the new child shall be added to

    • tag: string

      The tagName of the new child

    Returns Element | null

    Reference for new [[tag]] child within [[parent]] or null

Generated using TypeDoc