removeClass

fun Element.removeClass(vararg cssClasses: String): Boolean(source)

Removes all cssClasses from element. Has no effect if all specified classes are missing in class attribute of the element

Since Kotlin

1.4

Return

true if at least one class has been removed