@arcmantle/adapter-element
    Preparing search index...

    Variable insertPartConst

    insertPart: (
        containerPart: ChildPart,
        refPart?: ChildPart,
        part?: ChildPart,
    ) => ChildPart

    Inserts a ChildPart into the given container ChildPart's DOM, either at the end of the container ChildPart, or before the optional refPart.

    This does not add the part to the containerPart's committed value. That must be done by callers.

    Type declaration

      • (containerPart: ChildPart, refPart?: ChildPart, part?: ChildPart): ChildPart
      • Parameters

        • containerPart: ChildPart

          Part within which to add the new ChildPart

        • OptionalrefPart: ChildPart

          Part before which to add the new ChildPart; when omitted the part added to the end of the containerPart

        • Optionalpart: ChildPart

          Part to insert, or undefined to create a new part

        Returns ChildPart