HighlightRegistry

The HighlightRegistry interface of the CSS Custom Highlight API is used to register Highlight objects to be styled using the API.

MDN Reference

Properties

Link copied to clipboard
abstract override val size: Int

Functions

Link copied to clipboard
abstract fun clear()
Link copied to clipboard
abstract fun delete(key: JsString): Boolean
Link copied to clipboard
Link copied to clipboard
abstract fun forEach(action: (value: Highlight, key: JsString) -> Unit)
Link copied to clipboard
abstract fun get(key: JsString): Highlight?
open operator fun get(key: Symbol.iterator): () -> JsIterator<Tuple2<JsString, Highlight>>
Link copied to clipboard
abstract override fun has(key: JsString): Boolean
Link copied to clipboard
open inline operator fun iterator(): Iterator<Tuple2<JsString, Highlight>>
Link copied to clipboard
abstract fun keys(): JsIterator<JsString>
Link copied to clipboard
abstract fun set(key: JsString, value: Highlight)
Link copied to clipboard
abstract fun values(): JsIterator<Highlight>