Function attributesToString

  • Get attributes from an HTMLElement, and return them as a string like key=val.

    Parameters

    • attrs: Attr[]

      An array of the attributes

    Returns string

    The attributes as a string like key=val