DOMStringMap

open class DOMStringMap : Record<JsString, JsString> (source)

The DOMStringMap interface is used for the HTMLElement.dataset attribute, to represent data for custom attributes added to elements.

MDN Reference

Functions

Link copied to clipboard
open operator external fun get(key: JsString): JsString?
Link copied to clipboard
open operator external fun set(key: JsString, value: JsString)