Modify class: determine class.
class
Usage:
const dom = document.querySelector("#box");// Determine `class`hasClass(dom, "test");// Add `class`addClass(dom, "test");// Remove `class`removeClass(dom, "test"); Copy
const dom = document.querySelector("#box");// Determine `class`hasClass(dom, "test");// Add `class`addClass(dom, "test");// Remove `class`removeClass(dom, "test");
Modify
class
: determineclass
.Usage: