DOMTokenList

Exposes the JavaScript DOMTokenList to Kotlin

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
abstract val length: Int
Link copied to clipboard
open var value: String

Functions

Link copied to clipboard
fun add(vararg tokens: String)
Link copied to clipboard
Link copied to clipboard
fun contains(token: String): Boolean
Link copied to clipboard
open override fun item(index: Int): JsString?
Link copied to clipboard
fun remove(vararg tokens: String)
Link copied to clipboard
fun replace(token: String, newToken: String)
Link copied to clipboard
fun supports(token: String): Boolean
Link copied to clipboard
fun toggle(token: String, force: Boolean): Boolean