Function addClass

  • Adds class names(s).

    Parameters

    • selectors2add: string | string[]

      The selector of the element where to add to.

    • addClassNames: string | string[]

      The class names(s) to add.

    • ancestor: Document | Element = document

      The ancestor to use.

    Returns void

Generated using TypeDoc