HTML class attribute.
This function makes it easier to build a space-separated class attribute. Each class can easily be added and removed depending on the boolean value it is paired with.
SVG class attribute.
HTML class attribute.