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

    Parameters

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

    Returns HTMLElement

    the element

Generated using TypeDoc