Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

Functions

hasClass

  • hasClass(element: HTMLElement, classes: string): boolean
  • Returns true if the given element has the given class name

    Parameters

    • element: HTMLElement

      A single html element to check if it has a given class

    • classes: string

      The space-separated list of classes to remove from the element

    Returns boolean

Generated using TypeDoc