← Docs
kotlin-stdlib / kotlinx.dom / removeClass

removeClass

JS
1.4
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

Return true if at least one class has been removed

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .