CustomStateSet

open class CustomStateSet : MutableSetLike.Mixin<JsString> (source)

The CustomStateSet interface of the Document Object Model stores a list of states for an autonomous custom element, and allows states to be added and removed from the set.

MDN Reference

Properties

Link copied to clipboard
open external override val size: Int

Functions

Link copied to clipboard
open external override fun add(value: JsString)
Link copied to clipboard
open external override fun clear()
Link copied to clipboard
open external override fun delete(value: JsString): Boolean
Link copied to clipboard
open external fun entries(): JsIterator<Tuple2<JsString, JsString>>
Link copied to clipboard
open external fun forEach(action: (JsString) -> Unit)
Link copied to clipboard
open external override fun has(key: JsString): Boolean
Link copied to clipboard
open external fun keys(): JsIterator<JsString>
Link copied to clipboard
open external fun values(): JsIterator<JsString>