@lesjoursfr/browser-tools
    Preparing search index...

    Function addClass

    • Add the class to the node's class attribute.

      Parameters

      • node: HTMLElement
      • className: string | string[]

      Returns HTMLElement

      the element