removeClass

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

Deprecated

Warning since 1.4

Error since 1.6

This API is moved to another package, use 'kotlinx.dom.removeClass' instead.

Replace with

import kotlinx.dom.removeClass
this.removeClass(cssClasses)

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

Since Kotlin

1.1

Return

true if at least one class has been removed