DOM Helpers
addClass
Add a class or array of classes to an element.
js
/**
* @param {string|string[]} className - The class or classes to add.
* @param {HTMLElement} element - The element to add the class to.classes.
*/
addClass(className, element);
removeClass
Remove a class or array of classes from an element.
js
/**
* @param {string|string[]} className - The class or classes to remove.
* @param {HTMLElement} element - The element to remove the class from.
*/
removeClass(className, element);