Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

Functions

addClass

  • addClass(element: HTMLElement | NodeListOf<Element>, classes: string): void
  • Adds a single, or multiple classes to the given html element

    Parameters

    • element: HTMLElement | NodeListOf<Element>

      Receives either a single element or multiple elements

    • classes: string

      The space-separated list of classes to add to the element

    Returns void

Generated using TypeDoc