Handling element classes
Closed this issue · 0 comments
lenincompres commented
class: "text", should replace the class attribute.
addClass: "text", should add to the classlist to add.
class: ["text", "other"], should add to the classlist to add.
removeClass: ["text", "other"], should use classlist to remove.