addClasses

fun addClasses(vararg classes: String, onlyIf: Boolean = true): Element(source)

A convenience function to append a class to an existing class attribute.