vis-util
    Preparing search index...

    Function addClassName

    • Add a className to the given elements style.

      Parameters

      • elem: Element

        The element to which the classes will be added.

      • classNames: string

        Space separated list of classes.

      Returns void