removeClasses

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

A convenience function to remove one or more classes from an existing class attribute. This will be ignored if onlyIf is false.